Enum rustc_attr::ReprAttr [−][src]
pub enum ReprAttr {
ReprInt(IntType),
ReprC,
ReprPacked(u32),
ReprSimd,
ReprTransparent,
ReprAlign(u32),
ReprNoNiche,
}
Variants
ReprInt(IntType)
Tuple Fields of ReprInt
0: IntType
ReprPacked(u32)
Tuple Fields of ReprPacked
0: u32
ReprAlign(u32)
Tuple Fields of ReprAlign
0: u32
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ReprAttr
impl UnwindSafe for ReprAttr
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: 8 bytes
Size for each variant:
ReprInt
: 2 bytesReprC
: 0 bytesReprPacked
: 7 bytesReprSimd
: 0 bytesReprTransparent
: 0 bytesReprAlign
: 7 bytesReprNoNiche
: 0 bytes