Trait DataRawCopy

Source
pub unsafe trait DataRawCopy: DataRaw + Copy { }
Available on crate feature unsafe_layout only.
Expand description

Common unsafe trait for enumerating Copy-constrained raw data values without type metadata.

§Safety

You have to know what you’re doing.

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§