CloneNoAllocLayout

Trait CloneNoAllocLayout 

Source
pub trait CloneNoAllocLayout: Layout { }
Expand description

A layout that supports clone 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§

Source§

impl CloneNoAllocLayout for RawLayout

Available on crate feature raw-buffer only.
Source§

impl<const ANY_BUFFER: bool, const STATIC: bool> CloneNoAllocLayout for ArcLayout<ANY_BUFFER, STATIC>