pub trait BlockAccessorMutExt:
WriteBytes
+ ReadBytes
+ Sized {
// Provided methods
fn maybe_block_at_mut<K: BlockKind>(
&mut self,
index: BlockIndex,
) -> Option<Block<&mut Self, K>> { ... }
fn block_at_unchecked_mut<K: BlockKind>(
&mut self,
index: BlockIndex,
) -> Block<&mut Self, K> { ... }
fn block_at_mut(&mut self, index: BlockIndex) -> Block<&mut Self, Unknown> { ... }
}
Provided Methods§
fn maybe_block_at_mut<K: BlockKind>( &mut self, index: BlockIndex, ) -> Option<Block<&mut Self, K>>
fn block_at_unchecked_mut<K: BlockKind>( &mut self, index: BlockIndex, ) -> Block<&mut Self, K>
fn block_at_mut(&mut self, index: BlockIndex) -> Block<&mut Self, Unknown>
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.