pub enum LambdaParameters {
Variadic(Variadic),
FixedArity(FixedArity),
}Expand description
The typed LambdaParameters syntax category.
Variants§
Variadic(Variadic)
The Variadic syntax alternative.
FixedArity(FixedArity)
The FixedArity syntax alternative.
Trait Implementations§
Source§impl Debug for LambdaParameters
impl Debug for LambdaParameters
Source§impl From<FixedArity> for LambdaParameters
impl From<FixedArity> for LambdaParameters
Source§fn from(value: FixedArity) -> Self
fn from(value: FixedArity) -> Self
Converts to this type from the input type.
Source§impl From<Variadic> for LambdaParameters
impl From<Variadic> for LambdaParameters
Source§impl Lex for LambdaParameters
impl Lex for LambdaParameters
Source§fn to_tokens(&self, output: &mut TokenStream)
fn to_tokens(&self, output: &mut TokenStream)
Appends this value’s token trees to
output.Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Emits this value into a fresh token stream.
Source§impl PrettyTree for LambdaParameters
impl PrettyTree for LambdaParameters
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Source§impl<N> Reconstruct<N> for LambdaParameterswhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for LambdaParameterswhere
N: ExternalCstNode,
Auto Trait Implementations§
impl Freeze for LambdaParameters
impl RefUnwindSafe for LambdaParameters
impl Send for LambdaParameters
impl Sync for LambdaParameters
impl Unpin for LambdaParameters
impl UnsafeUnpin for LambdaParameters
impl UnwindSafe for LambdaParameters
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