Struct syn::Lifetime [−][src]
A Rust lifetime: 'a
.
Lifetime names must conform to the following rules:
- Must start with an apostrophe.
- Must not consist of just an apostrophe:
'
. - Character after the apostrophe must be
_
or a Unicode code point with the XID_Start property. - All following characters must be Unicode code points with the XID_Continue property.
Fields
apostrophe: Span
ident: Ident
Implementations
impl Lifetime
[src]
impl Lifetime
[src]Trait Implementations
impl From<Lifetime> for TypeParamBound
[src]
impl From<Lifetime> for TypeParamBound
[src]fn from(e: Lifetime) -> TypeParamBound
[src][−]
impl PartialOrd<Lifetime> for Lifetime
[src]
impl PartialOrd<Lifetime> for Lifetime
[src]fn partial_cmp(&self, other: &Lifetime) -> Option<Ordering>
[src][−]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src][−]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src][−]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src][−]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src][−]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl ToTokens for Lifetime
[src]
impl ToTokens for Lifetime
[src]