Struct rustdoc::clean::Lifetime [−][src]
pub struct Lifetime(String);
Methods
impl Lifetime
[src]
impl Lifetime
Trait Implementations
impl Clone for Lifetime
[src]
impl Clone for Lifetime
fn clone(&self) -> Lifetime
[src]
fn clone(&self) -> Lifetime
Returns 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 Encodable for Lifetime
[src]
impl Encodable for Lifetime
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
[src]
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl Decodable for Lifetime
[src]
impl Decodable for Lifetime
fn decode<__D: Decoder>(d: &mut __D) -> Result<Lifetime, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<Lifetime, __D::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl PartialEq for Lifetime
[src]
impl PartialEq for Lifetime
fn eq(&self, other: &Lifetime) -> bool
[src]
fn eq(&self, other: &Lifetime) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for Lifetime
[src]
impl Eq for Lifetime
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)
impl Debug for Lifetime
[src]
impl Debug for Lifetime
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Hash for Lifetime
[src]
impl Hash for Lifetime
fn 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 Clean<Lifetime> for Lifetime
[src]
impl Clean<Lifetime> for Lifetime
fn clean(&self, cx: &DocContext) -> Lifetime
[src]
fn clean(&self, cx: &DocContext) -> Lifetime
impl Clean<Lifetime> for LifetimeDef
[src]
impl Clean<Lifetime> for LifetimeDef
fn clean(&self, _: &DocContext) -> Lifetime
[src]
fn clean(&self, _: &DocContext) -> Lifetime
impl<'tcx> Clean<Lifetime> for GenericParamDef
[src]
impl<'tcx> Clean<Lifetime> for GenericParamDef
fn clean(&self, _cx: &DocContext) -> Lifetime
[src]
fn clean(&self, _cx: &DocContext) -> Lifetime
impl Display for Lifetime
[src]
impl Display for Lifetime