Skip to main content

DataOwned

Trait DataOwned 

Source
pub unsafe trait DataOwned: Data {
    type MaybeUninit: DataOwned<Elem = MaybeUninit<Self::Elem>> + RawDataSubst<Self::Elem, Output = Self>;
}
Expand description

Array representation trait.

A representation which can be the owner of its data.

Internal trait, see Data.

Required Associated Types§

Source

type MaybeUninit: DataOwned<Elem = MaybeUninit<Self::Elem>> + RawDataSubst<Self::Elem, Output = Self>

Corresponding owned data with MaybeUninit elements

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§