Enum rustc_transmute::layout::tree::Err
source · pub(crate) enum Err {
Unspecified,
Unknown,
}
Variants§
Unspecified
The layout of the type is unspecified.
Unknown
This error will be surfaced elsewhere by rustc, so don’t surface it.
Trait Implementations§
source§impl<'tcx> From<LayoutError<'tcx>> for Err
impl<'tcx> From<LayoutError<'tcx>> for Err
source§fn from(err: LayoutError<'tcx>) -> Self
fn from(err: LayoutError<'tcx>) -> Self
Converts to this type from the input type.
impl Copy for Err
Auto Trait Implementations§
impl RefUnwindSafe for Err
impl Send for Err
impl Sync for Err
impl Unpin for Err
impl UnwindSafe for Err
Blanket Implementations§
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:
Unspecified
: 0 bytesUnknown
: 0 bytes