Struct ruby_prism::ItParametersNode
source · pub struct ItParametersNode<'pr> { /* private fields */ }
Expand description
Represents an implicit set of parameters through the use of the it
keyword within a block or lambda.
-> { it + it }
^^^^^^^^^^^^^^
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'pr> RefUnwindSafe for ItParametersNode<'pr>
impl<'pr> !Send for ItParametersNode<'pr>
impl<'pr> !Sync for ItParametersNode<'pr>
impl<'pr> Unpin for ItParametersNode<'pr>
impl<'pr> !UnwindSafe for ItParametersNode<'pr>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more