Struct rustc_middle::ty::util::Discr [−][src]
Fields
val: u128
Bit representation of the discriminant (e.g., -128i8
is 0xFF_u128
).
ty: Ty<'tcx>
Implementations
Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for Discr<'tcx>
impl<'tcx> !UnwindSafe for Discr<'tcx>
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: 24 bytes