Struct brotli::ffi::alloc_util::BrotliSubclassableAllocator
source · [−]pub struct BrotliSubclassableAllocator(_);
Implementations
Trait Implementations
sourceimpl<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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more