Struct macrohelper::Lifetime
[−]
pub struct Lifetime { pub ident: Ident, }
Fields
ident: Ident
Methods
impl Lifetime
Trait Implementations
impl Debug for Lifetime
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl ToTokens for Lifetime
fn to_tokens(&self, tokens: &mut Tokens)
impl PartialEq<Lifetime> for Lifetime
fn eq(&self, __arg_0: &Lifetime) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Lifetime) -> bool
This method tests for !=
.
impl Clone for Lifetime
fn clone(&self) -> Lifetime
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more