wiwi::mem_use

Trait MemUseStatic

Source
pub trait MemUseStatic
where Self: MemUse,
{ // Required method fn mem_use_static(&self) -> usize; }

Required Methods§

Source

fn mem_use_static(&self) -> usize

Calculates the static memory usage for this value, including inline and indirect usage if applicable

Implementations on Foreign Types§

Source§

impl MemUseStatic for bool

Source§

impl MemUseStatic for char

Source§

impl MemUseStatic for f32

Source§

impl MemUseStatic for f64

Source§

impl MemUseStatic for i8

Source§

impl MemUseStatic for i16

Source§

impl MemUseStatic for i32

Source§

impl MemUseStatic for i64

Source§

impl MemUseStatic for i128

Source§

impl MemUseStatic for isize

Source§

impl MemUseStatic for str

Source§

impl MemUseStatic for u8

Source§

impl MemUseStatic for u16

Source§

impl MemUseStatic for u32

Source§

impl MemUseStatic for u64

Source§

impl MemUseStatic for u128

Source§

impl MemUseStatic for ()

Source§

impl MemUseStatic for usize

Source§

impl<T> MemUseStatic for &T
where T: ?Sized + MemUseStatic,

Source§

impl<T> MemUseStatic for &mut T
where T: ?Sized + MemUseStatic,

Source§

impl<T> MemUseStatic for [T]
where T: MemUseStatic,

Source§

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

Source§

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

Implementors§

Source§

impl MemUseStatic for AtomicBool

Source§

impl MemUseStatic for AtomicI8

Source§

impl MemUseStatic for AtomicI16

Source§

impl MemUseStatic for AtomicI32

Source§

impl MemUseStatic for AtomicI64

Source§

impl MemUseStatic for AtomicIsize

Source§

impl MemUseStatic for AtomicU8

Source§

impl MemUseStatic for AtomicU16

Source§

impl MemUseStatic for AtomicU32

Source§

impl MemUseStatic for AtomicU64

Source§

impl MemUseStatic for AtomicUsize

Source§

impl MemUseStatic for NonZero<i8>

Source§

impl MemUseStatic for NonZero<i16>

Source§

impl MemUseStatic for NonZero<i32>

Source§

impl MemUseStatic for NonZero<i64>

Source§

impl MemUseStatic for NonZero<i128>

Source§

impl MemUseStatic for NonZero<isize>

Source§

impl MemUseStatic for NonZero<u8>

Source§

impl MemUseStatic for NonZero<u16>

Source§

impl MemUseStatic for NonZero<u32>

Source§

impl MemUseStatic for NonZero<u64>

Source§

impl MemUseStatic for NonZero<u128>

Source§

impl MemUseStatic for NonZero<usize>

Source§

impl MemUseStatic for PhantomPinned

Source§

impl MemUseStatic for Saturating<i8>

Source§

impl MemUseStatic for Saturating<i16>

Source§

impl MemUseStatic for Saturating<i32>

Source§

impl MemUseStatic for Saturating<i64>

Source§

impl MemUseStatic for Saturating<i128>

Source§

impl MemUseStatic for Saturating<isize>

Source§

impl MemUseStatic for Saturating<u8>

Source§

impl MemUseStatic for Saturating<u16>

Source§

impl MemUseStatic for Saturating<u32>

Source§

impl MemUseStatic for Saturating<u64>

Source§

impl MemUseStatic for Saturating<u128>

Source§

impl MemUseStatic for Saturating<usize>

Source§

impl MemUseStatic for Wrapping<i8>

Source§

impl MemUseStatic for Wrapping<i16>

Source§

impl MemUseStatic for Wrapping<i32>

Source§

impl MemUseStatic for Wrapping<i64>

Source§

impl MemUseStatic for Wrapping<i128>

Source§

impl MemUseStatic for Wrapping<isize>

Source§

impl MemUseStatic for Wrapping<u8>

Source§

impl MemUseStatic for Wrapping<u16>

Source§

impl MemUseStatic for Wrapping<u32>

Source§

impl MemUseStatic for Wrapping<u64>

Source§

impl MemUseStatic for Wrapping<u128>

Source§

impl MemUseStatic for Wrapping<usize>

Source§

impl<T> MemUseStatic for AtomicPtr<T>

Source§

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