Struct brotli::ffi::alloc_util::BrotliSubclassableAllocator
source · 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 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