pub enum Parameter<'tree> {
DefaultParameter(Box<DefaultParameter<'tree>>),
DictionarySplatPattern(Box<DictionarySplatPattern<'tree>>),
Identifier(Box<Identifier<'tree>>),
KeywordSeparator(Box<KeywordSeparator<'tree>>),
ListSplatPattern(Box<ListSplatPattern<'tree>>),
PositionalSeparator(Box<PositionalSeparator<'tree>>),
TuplePattern(Box<TuplePattern<'tree>>),
TypedDefaultParameter(Box<TypedDefaultParameter<'tree>>),
TypedParameter(Box<TypedParameter<'tree>>),
}Variants§
DefaultParameter(Box<DefaultParameter<'tree>>)
DictionarySplatPattern(Box<DictionarySplatPattern<'tree>>)
Identifier(Box<Identifier<'tree>>)
KeywordSeparator(Box<KeywordSeparator<'tree>>)
ListSplatPattern(Box<ListSplatPattern<'tree>>)
PositionalSeparator(Box<PositionalSeparator<'tree>>)
TuplePattern(Box<TuplePattern<'tree>>)
TypedDefaultParameter(Box<TypedDefaultParameter<'tree>>)
TypedParameter(Box<TypedParameter<'tree>>)
Trait Implementations§
Auto Trait Implementations§
impl<'tree> Freeze for Parameter<'tree>
impl<'tree> RefUnwindSafe for Parameter<'tree>
impl<'tree> Send for Parameter<'tree>
impl<'tree> Sync for Parameter<'tree>
impl<'tree> Unpin for Parameter<'tree>
impl<'tree> UnsafeUnpin for Parameter<'tree>
impl<'tree> UnwindSafe for Parameter<'tree>
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