pub struct BrotliSubclassableAllocator(/* private fields */);
Implementations§
Trait Implementations§
Source§impl<T: Clone + Default> Allocator<T> for BrotliSubclassableAllocator
impl<T: Clone + Default> Allocator<T> for BrotliSubclassableAllocator
type AllocatedMemory = SendableMemoryBlock<T>
fn alloc_cell(&mut self, s: usize) -> Self::AllocatedMemory
fn free_cell(&mut self, data: Self::AllocatedMemory)
impl BrotliAlloc for BrotliSubclassableAllocator
impl Send for BrotliSubclassableAllocator
Auto Trait Implementations§
impl Freeze for BrotliSubclassableAllocator
impl RefUnwindSafe for BrotliSubclassableAllocator
impl !Sync for BrotliSubclassableAllocator
impl Unpin for BrotliSubclassableAllocator
impl UnwindSafe for BrotliSubclassableAllocator
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