wiwi::mem_use

Trait MemUseConst

Source
pub trait MemUseConst
where Self: Sized + MemUseStatic,
{ const MEM_USE: usize; }

Required Associated Constants§

Source

const MEM_USE: usize

The constant memory usage for this type

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl MemUseConst for bool

Source§

const MEM_USE: usize = 1usize

Source§

impl MemUseConst for char

Source§

const MEM_USE: usize = 4usize

Source§

impl MemUseConst for f32

Source§

const MEM_USE: usize = 4usize

Source§

impl MemUseConst for f64

Source§

const MEM_USE: usize = 8usize

Source§

impl MemUseConst for i8

Source§

const MEM_USE: usize = 1usize

Source§

impl MemUseConst for i16

Source§

const MEM_USE: usize = 2usize

Source§

impl MemUseConst for i32

Source§

const MEM_USE: usize = 4usize

Source§

impl MemUseConst for i64

Source§

const MEM_USE: usize = 8usize

Source§

impl MemUseConst for i128

Source§

const MEM_USE: usize = 16usize

Source§

impl MemUseConst for isize

Source§

const MEM_USE: usize = 8usize

Source§

impl MemUseConst for u8

Source§

const MEM_USE: usize = 1usize

Source§

impl MemUseConst for u16

Source§

const MEM_USE: usize = 2usize

Source§

impl MemUseConst for u32

Source§

const MEM_USE: usize = 4usize

Source§

impl MemUseConst for u64

Source§

const MEM_USE: usize = 8usize

Source§

impl MemUseConst for u128

Source§

const MEM_USE: usize = 16usize

Source§

impl MemUseConst for ()

Source§

const MEM_USE: usize = 0usize

Source§

impl MemUseConst for usize

Source§

const MEM_USE: usize = 8usize

Source§

impl<T> MemUseConst for &T
where T: MemUseConst,

Source§

impl<T> MemUseConst for &mut T
where T: MemUseConst,

Source§

impl<T: ?Sized> MemUseConst for *const T

Source§

impl<T: ?Sized> MemUseConst for *mut T

Implementors§

Source§

impl MemUseConst for AtomicBool

Source§

const MEM_USE: usize = 1usize

Source§

impl MemUseConst for AtomicI8

Source§

const MEM_USE: usize = 1usize

Source§

impl MemUseConst for AtomicI16

Source§

const MEM_USE: usize = 2usize

Source§

impl MemUseConst for AtomicI32

Source§

const MEM_USE: usize = 4usize

Source§

impl MemUseConst for AtomicI64

Source§

const MEM_USE: usize = 8usize

Source§

impl MemUseConst for AtomicIsize

Source§

const MEM_USE: usize = 8usize

Source§

impl MemUseConst for AtomicU8

Source§

const MEM_USE: usize = 1usize

Source§

impl MemUseConst for AtomicU16

Source§

const MEM_USE: usize = 2usize

Source§

impl MemUseConst for AtomicU32

Source§

const MEM_USE: usize = 4usize

Source§

impl MemUseConst for AtomicU64

Source§

const MEM_USE: usize = 8usize

Source§

impl MemUseConst for AtomicUsize

Source§

const MEM_USE: usize = 8usize

Source§

impl MemUseConst for NonZero<i8>

Source§

const MEM_USE: usize = 1usize

Source§

impl MemUseConst for NonZero<i16>

Source§

const MEM_USE: usize = 2usize

Source§

impl MemUseConst for NonZero<i32>

Source§

const MEM_USE: usize = 4usize

Source§

impl MemUseConst for NonZero<i64>

Source§

const MEM_USE: usize = 8usize

Source§

impl MemUseConst for NonZero<i128>

Source§

const MEM_USE: usize = 16usize

Source§

impl MemUseConst for NonZero<isize>

Source§

const MEM_USE: usize = 8usize

Source§

impl MemUseConst for NonZero<u8>

Source§

const MEM_USE: usize = 1usize

Source§

impl MemUseConst for NonZero<u16>

Source§

const MEM_USE: usize = 2usize

Source§

impl MemUseConst for NonZero<u32>

Source§

const MEM_USE: usize = 4usize

Source§

impl MemUseConst for NonZero<u64>

Source§

const MEM_USE: usize = 8usize

Source§

impl MemUseConst for NonZero<u128>

Source§

const MEM_USE: usize = 16usize

Source§

impl MemUseConst for NonZero<usize>

Source§

const MEM_USE: usize = 8usize

Source§

impl MemUseConst for PhantomPinned

Source§

const MEM_USE: usize = 0usize

Source§

impl MemUseConst for Saturating<i8>

Source§

const MEM_USE: usize = 1usize

Source§

impl MemUseConst for Saturating<i16>

Source§

const MEM_USE: usize = 2usize

Source§

impl MemUseConst for Saturating<i32>

Source§

const MEM_USE: usize = 4usize

Source§

impl MemUseConst for Saturating<i64>

Source§

const MEM_USE: usize = 8usize

Source§

impl MemUseConst for Saturating<i128>

Source§

const MEM_USE: usize = 16usize

Source§

impl MemUseConst for Saturating<isize>

Source§

const MEM_USE: usize = 8usize

Source§

impl MemUseConst for Saturating<u8>

Source§

const MEM_USE: usize = 1usize

Source§

impl MemUseConst for Saturating<u16>

Source§

const MEM_USE: usize = 2usize

Source§

impl MemUseConst for Saturating<u32>

Source§

const MEM_USE: usize = 4usize

Source§

impl MemUseConst for Saturating<u64>

Source§

const MEM_USE: usize = 8usize

Source§

impl MemUseConst for Saturating<u128>

Source§

const MEM_USE: usize = 16usize

Source§

impl MemUseConst for Saturating<usize>

Source§

const MEM_USE: usize = 8usize

Source§

impl MemUseConst for Wrapping<i8>

Source§

const MEM_USE: usize = 1usize

Source§

impl MemUseConst for Wrapping<i16>

Source§

const MEM_USE: usize = 2usize

Source§

impl MemUseConst for Wrapping<i32>

Source§

const MEM_USE: usize = 4usize

Source§

impl MemUseConst for Wrapping<i64>

Source§

const MEM_USE: usize = 8usize

Source§

impl MemUseConst for Wrapping<i128>

Source§

const MEM_USE: usize = 16usize

Source§

impl MemUseConst for Wrapping<isize>

Source§

const MEM_USE: usize = 8usize

Source§

impl MemUseConst for Wrapping<u8>

Source§

const MEM_USE: usize = 1usize

Source§

impl MemUseConst for Wrapping<u16>

Source§

const MEM_USE: usize = 2usize

Source§

impl MemUseConst for Wrapping<u32>

Source§

const MEM_USE: usize = 4usize

Source§

impl MemUseConst for Wrapping<u64>

Source§

const MEM_USE: usize = 8usize

Source§

impl MemUseConst for Wrapping<u128>

Source§

const MEM_USE: usize = 16usize

Source§

impl MemUseConst for Wrapping<usize>

Source§

const MEM_USE: usize = 8usize

Source§

impl<T> MemUseConst for AtomicPtr<T>

Source§

const MEM_USE: usize = 8usize

Source§

impl<T: ?Sized> MemUseConst for PhantomData<T>

Source§

const MEM_USE: usize = 0usize