Struct ruby_prism::ImplicitRestNode
source · pub struct ImplicitRestNode<'pr> { /* private fields */ }
Expand description
Represents using a trailing comma to indicate an implicit rest parameter.
foo { |bar,| }
^
foo in [bar,]
^
for foo, in bar do end
^
foo, = bar
^
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'pr> RefUnwindSafe for ImplicitRestNode<'pr>
impl<'pr> !Send for ImplicitRestNode<'pr>
impl<'pr> !Sync for ImplicitRestNode<'pr>
impl<'pr> Unpin for ImplicitRestNode<'pr>
impl<'pr> !UnwindSafe for ImplicitRestNode<'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