pub(crate) struct Blocks {
p: NonNull<Block>,
len: usize,
}Expand description
Custom implementation of Box<[Block]> until Box::try_new_zeroed_slice is stabilized.
Fields§
§p: NonNull<Block>§len: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Blocks
impl RefUnwindSafe for Blocks
impl !Send for Blocks
impl !Sync for Blocks
impl Unpin for Blocks
impl UnsafeUnpin for Blocks
impl UnwindSafe for Blocks
Blanket Implementations§
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