Trait nalgebra::base::storage::Storage [−][src]
pub unsafe trait Storage<T, R: Dim, C: Dim = U1>: RawStorage<T, R, C> {
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
fn 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.
fn 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.