pub struct BlockedCoo<const BM: usize, const BN: usize>;Expand description
Blocked COO format marker.
BM: block row countBN: block column count
Trait Implementations§
Source§impl<const BM: usize, const BN: usize> Clone for BlockedCoo<BM, BN>
impl<const BM: usize, const BN: usize> Clone for BlockedCoo<BM, BN>
Source§fn clone(&self) -> BlockedCoo<BM, BN>
fn clone(&self) -> BlockedCoo<BM, BN>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<const BM: usize, const BN: usize> Copy for BlockedCoo<BM, BN>
Source§impl<const BM: usize, const BN: usize> CowFormat for BlockedCoo<BM, BN>
impl<const BM: usize, const BN: usize> CowFormat for BlockedCoo<BM, BN>
Source§type Owned<T> = OwnedBlockedCoo<T, BM, BN>
where
T: Send + Sync
type Owned<T> = OwnedBlockedCoo<T, BM, BN> where T: Send + Sync
Heap-owned storage for this format.
Source§fn as_storage<T: Send + Sync>(
owned: &Self::Owned<T>,
) -> BlockedCooData<'_, T, BM, BN>
fn as_storage<T: Send + Sync>( owned: &Self::Owned<T>, ) -> BlockedCooData<'_, T, BM, BN>
Re-borrow owned storage as the format’s view storage (zero-copy).
Source§fn to_owned_storage<T: Clone + Send + Sync>(
d: &BlockedCooData<'_, T, BM, BN>,
) -> OwnedBlockedCoo<T, BM, BN>
fn to_owned_storage<T: Clone + Send + Sync>( d: &BlockedCooData<'_, T, BM, BN>, ) -> OwnedBlockedCoo<T, BM, BN>
Clone a borrowed view storage into owned storage (one allocation set).
impl<const BM: usize, const BN: usize> Eq for BlockedCoo<BM, BN>
Source§impl<const BM: usize, const BN: usize> SparseFormat for BlockedCoo<BM, BN>
impl<const BM: usize, const BN: usize> SparseFormat for BlockedCoo<BM, BN>
impl<const BM: usize, const BN: usize> StructuralPartialEq for BlockedCoo<BM, BN>
Auto Trait Implementations§
impl<const BM: usize, const BN: usize> Freeze for BlockedCoo<BM, BN>
impl<const BM: usize, const BN: usize> RefUnwindSafe for BlockedCoo<BM, BN>
impl<const BM: usize, const BN: usize> Send for BlockedCoo<BM, BN>
impl<const BM: usize, const BN: usize> Sync for BlockedCoo<BM, BN>
impl<const BM: usize, const BN: usize> Unpin for BlockedCoo<BM, BN>
impl<const BM: usize, const BN: usize> UnsafeUnpin for BlockedCoo<BM, BN>
impl<const BM: usize, const BN: usize> UnwindSafe for BlockedCoo<BM, BN>
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more