Struct devise::syn::ArgSelfRef [−][src]
pub struct ArgSelfRef {
pub and_token: And,
pub lifetime: Option<Lifetime>,
pub mutability: Option<Mut>,
pub self_token: SelfValue,
}Expand description
Self captured by reference in a function signature: &self or &mut self.
This type is available if Syn is built with the "full" feature.
Fields
and_token: Andlifetime: Option<Lifetime>mutability: Option<Mut>self_token: SelfValueTrait Implementations
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl !RefUnwindSafe for ArgSelfRef
impl !Send for ArgSelfRef
impl !Sync for ArgSelfRef
impl Unpin for ArgSelfRef
impl UnwindSafe for ArgSelfRef
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a Span covering the complete contents of this syntax tree
node, or Span::call_site() if this node is empty. Read more