pub unsafe trait Storage<T, R: Dim, C: Dim = U1>: RawStorage<T, R, C> {
// Required methods
fn into_owned(self) -> Owned<T, R, C>
where DefaultAllocator: Allocator<T, R, C>;
fn clone_owned(&self) -> Owned<T, R, C>
where DefaultAllocator: Allocator<T, R, C>;
}
Expand description
Trait shared by all matrix data storage that don’t contain any uninitialized elements.
Required Methods§
Sourcefn into_owned(self) -> Owned<T, R, C>where
DefaultAllocator: Allocator<T, R, C>,
fn into_owned(self) -> Owned<T, R, C>where
DefaultAllocator: Allocator<T, R, C>,
Builds a matrix data storage that does not contain any reference.
Sourcefn clone_owned(&self) -> Owned<T, R, C>where
DefaultAllocator: Allocator<T, R, C>,
fn clone_owned(&self) -> Owned<T, R, C>where
DefaultAllocator: Allocator<T, R, C>,
Clones this data storage to one that does not contain any reference.
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.