Enum rustc_hir::OpaqueTyOrigin [−][src]
pub enum OpaqueTyOrigin {
FnReturn,
AsyncFn,
TyAlias,
}
Expand description
From whence the opaque type came.
Variants
-> impl Trait
async fn
type aliases: type Foo = impl Trait;
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OpaqueTyOrigin
impl Send for OpaqueTyOrigin
impl Sync for OpaqueTyOrigin
impl Unpin for OpaqueTyOrigin
impl UnwindSafe for OpaqueTyOrigin
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:
FnReturn
: 0 bytesAsyncFn
: 0 bytesTyAlias
: 0 bytes