Struct devise::syn::ArgSelfRef
source · 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: And
§lifetime: Option<Lifetime>
§mutability: Option<Mut>
§self_token: SelfValue
Trait Implementations§
source§impl Clone for ArgSelfRef
impl Clone for ArgSelfRef
source§fn clone(&self) -> ArgSelfRef
fn clone(&self) -> ArgSelfRef
Returns a copy of the value. Read more
1.0.0 · 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 ArgSelfRef
impl Debug for ArgSelfRef
source§impl From<ArgSelfRef> for FnArg
impl From<ArgSelfRef> for FnArg
source§fn from(e: ArgSelfRef) -> FnArg
fn from(e: ArgSelfRef) -> FnArg
Converts to this type from the input type.