pub unsafe trait Storage<T, R, C = Const<1>>: RawStorage<T, R, C>where
R: Dim,
C: Dim,{
// 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.