pub trait TruncateNoAllocLayout: Layout { }Expand description
A layout that supports truncate without allocating.
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§
impl TruncateNoAllocLayout for RawLayout
Available on crate feature
raw-buffer only.