Enum rustc_typeck::middle::resolve_lifetime::LifetimeDefOrigin [−][src]
pub enum LifetimeDefOrigin {
ExplicitOrElided,
InBand,
Error,
}Expand description
The origin of a named lifetime definition.
This is used to prevent the usage of in-band lifetimes in Fn/fn syntax.
Variants
ExplicitOrElided
InBand
Error
Auto Trait Implementations
impl RefUnwindSafe for LifetimeDefOrigin
impl Send for LifetimeDefOrigin
impl Sync for LifetimeDefOrigin
impl Unpin for LifetimeDefOrigin
impl UnwindSafe for LifetimeDefOrigin
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
ExplicitOrElided: 0 bytesInBand: 0 bytesError: 0 bytes