Enum rustc_attr::IntType
source · pub enum IntType {
SignedInt(IntTy),
UnsignedInt(UintTy),
}
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)
source§impl PartialEq<IntType> for IntType
impl PartialEq<IntType> for IntType
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
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: 2 bytes
Size for each variant:
SignedInt
: 1 byteUnsignedInt
: 1 byte