Enum rustc_middle::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
Implementations
Trait Implementations
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 be different between compiler versions and platforms. 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