pub struct LambdaParam {
pub modifiers: Vec<Modifier>,
pub ty: Type,
pub name: Ident,
}Expand description
A lambda parameter with explicit type.
Fields§
§modifiers: Vec<Modifier>§ty: Type§name: IdentTrait Implementations§
Source§impl Clone for LambdaParam
impl Clone for LambdaParam
Source§fn clone(&self) -> LambdaParam
fn clone(&self) -> LambdaParam
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LambdaParam
impl Debug for LambdaParam
impl Eq for LambdaParam
Source§impl Hash for LambdaParam
impl Hash for LambdaParam
Source§impl PartialEq for LambdaParam
impl PartialEq for LambdaParam
Source§fn eq(&self, other: &LambdaParam) -> bool
fn eq(&self, other: &LambdaParam) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LambdaParam
Auto Trait Implementations§
impl Freeze for LambdaParam
impl RefUnwindSafe for LambdaParam
impl Send for LambdaParam
impl Sync for LambdaParam
impl Unpin for LambdaParam
impl UnsafeUnpin for LambdaParam
impl UnwindSafe for LambdaParam
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