pub enum PrimitiveRepr {
U8,
U16,
U32,
U64,
U128,
I8,
I16,
I32,
I64,
I128,
Isize,
Usize,
}Expand description
Primitive repr types
Variants§
U8
u8
U16
u16
U32
u32
U64
u64
U128
u128
I8
i8
I16
i16
I32
i32
I64
i64
I128
i128
Isize
isize
Usize
usize
Implementations§
Source§impl PrimitiveRepr
impl PrimitiveRepr
Sourcepub fn type_name(&self) -> TokenStream
pub fn type_name(&self) -> TokenStream
Returns the type name as a token stream
Trait Implementations§
Source§impl Clone for PrimitiveRepr
impl Clone for PrimitiveRepr
Source§fn clone(&self) -> PrimitiveRepr
fn clone(&self) -> PrimitiveRepr
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PrimitiveRepr
impl Debug for PrimitiveRepr
Source§impl Hash for PrimitiveRepr
impl Hash for PrimitiveRepr
Source§impl PartialEq for PrimitiveRepr
impl PartialEq for PrimitiveRepr
impl Copy for PrimitiveRepr
impl Eq for PrimitiveRepr
impl StructuralPartialEq for PrimitiveRepr
Auto Trait Implementations§
impl Freeze for PrimitiveRepr
impl RefUnwindSafe for PrimitiveRepr
impl Send for PrimitiveRepr
impl Sync for PrimitiveRepr
impl Unpin for PrimitiveRepr
impl UnwindSafe for PrimitiveRepr
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