pub trait ZeroCopy: CopyType<Copy = Zero> + Copy + MaxSizeOf + 'static { }
Expand description

Marker trait for zero-copy types. You should never implement this trait directly, but rather implement CopyType with Copy=Zero.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: CopyType<Copy = Zero> + Copy + MaxSizeOf + 'static> ZeroCopy for T