Struct syntax::ast::Lifetime [−][src]
Fields
id: NodeId
ident: Ident
Trait Implementations
impl Clone for Lifetime[src]
impl Clone for Lifetimefn clone(&self) -> Lifetime[src]
fn clone(&self) -> LifetimeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for Lifetime[src]
impl PartialEq for Lifetimefn eq(&self, other: &Lifetime) -> bool[src]
fn eq(&self, other: &Lifetime) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Lifetime) -> bool[src]
fn ne(&self, other: &Lifetime) -> boolThis method tests for !=.
impl Eq for Lifetime[src]
impl Eq for Lifetimeimpl Encodable for Lifetime[src]
impl Encodable for Lifetimeimpl Decodable for Lifetime[src]
impl Decodable for Lifetimeimpl Hash for Lifetime[src]
impl Hash for Lifetimefn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Copy for Lifetime[src]
impl Copy for Lifetimeimpl Debug for Lifetime[src]
impl Debug for Lifetimefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl ToTokens for Lifetime[src]
impl ToTokens for Lifetime