#[repr(u8)]pub enum UsePrimTy {
Show 20 variants
None = 0,
Bool = 1,
Char = 2,
Str = 3,
I8 = 4,
I16 = 5,
I32 = 6,
I64 = 7,
I128 = 8,
Isize = 9,
U8 = 10,
U16 = 11,
U32 = 12,
U64 = 13,
U128 = 14,
Usize = 15,
F16 = 16,
F32 = 17,
F64 = 18,
F128 = 19,
}Expand description
Built-in primitive target for use core::primitive::* / std::primitive::* imports.
Variants§
None = 0
Bool = 1
Char = 2
Str = 3
I8 = 4
I16 = 5
I32 = 6
I64 = 7
I128 = 8
Isize = 9
U8 = 10
U16 = 11
U32 = 12
U64 = 13
U128 = 14
Usize = 15
F16 = 16
F32 = 17
F64 = 18
F128 = 19
Implementations§
Trait Implementations§
impl Copy for UsePrimTy
impl Eq for UsePrimTy
impl StructuralPartialEq for UsePrimTy
Auto Trait Implementations§
impl Forget for UsePrimTy
impl Freeze for UsePrimTy
impl Move for UsePrimTy
impl RefUnwindSafe for UsePrimTy
impl Send for UsePrimTy
impl Sync for UsePrimTy
impl Unpin for UsePrimTy
impl UnsafeUnpin for UsePrimTy
impl UnwindSafe for UsePrimTy
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