pub unsafe trait Storage<T, R, C = Const<1>>: RawStorage<T, R, C>{
// Required methods
fn into_owned(self) -> <DefaultAllocator as Allocator<T, R, C>>::Buffer
where DefaultAllocator: Allocator<T, R, C>;
fn clone_owned(&self) -> <DefaultAllocator as Allocator<T, R, C>>::Buffer
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) -> <DefaultAllocator as Allocator<T, R, C>>::Bufferwhere
DefaultAllocator: Allocator<T, R, C>,
fn into_owned(self) -> <DefaultAllocator as Allocator<T, R, C>>::Bufferwhere
DefaultAllocator: Allocator<T, R, C>,
Builds a matrix data storage that does not contain any reference.
Sourcefn clone_owned(&self) -> <DefaultAllocator as Allocator<T, R, C>>::Bufferwhere
DefaultAllocator: Allocator<T, R, C>,
fn clone_owned(&self) -> <DefaultAllocator as Allocator<T, R, C>>::Bufferwhere
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.