Trait MemUseConst

Source
pub trait MemUseConst
where Self: MemUse,
{ const MEM_USE_INLINE_MAYBE: Option<usize>; const MEM_USE_INDIRECT_MAYBE: Option<usize>; const MEM_USE_MAYBE: Option<usize> = _; const MEM_USE: usize = _; const MEM_USE_INLINE: usize = _; const MEM_USE_INDIRECT: usize = _; }

Required Associated Constants§

Source

const MEM_USE_INLINE_MAYBE: Option<usize>

The constant inline memory usage for this type, if this value is always the same

Source

const MEM_USE_INDIRECT_MAYBE: Option<usize>

The constant indirect memory usage for this type, if this value is always the same

Provided Associated Constants§

Source

const MEM_USE_MAYBE: Option<usize> = _

The constant memory usage for this type, if this value is always the same

Source

const MEM_USE: usize = _

The constant memory usage for this type

Source

const MEM_USE_INLINE: usize = _

The constant memory usage for this type

Source

const MEM_USE_INDIRECT: 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.

Implementors§