Enum rustc_attr::IntType
source · Variants§
Implementations§
Trait Implementations§
source§impl<__CTX> HashStable<__CTX> for IntTypewhere
__CTX: HashStableContext,
impl<__CTX> HashStable<__CTX> for IntTypewhere
__CTX: HashStableContext,
fn hash_stable(&self, __hcx: &mut __CTX, __hasher: &mut StableHasher)
impl Copy for IntType
impl Eq for IntType
impl StructuralEq for IntType
impl StructuralPartialEq for IntType
Auto Trait Implementations§
impl RefUnwindSafe for IntType
impl Send for IntType
impl Sync for IntType
impl Unpin for IntType
impl UnwindSafe for IntType
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: 2 bytes
Size for each variant:
SignedInt
: 1 byteUnsignedInt
: 1 byte