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.
Object Safety§
This trait is not object safe.