[−][src]Struct brotli::writer::StackAllocator
Fields
nop: &'a mut [T]
system_resources: U
free_list_start: usize
free_list_overflow_count: usize
initialize: fn(&mut [T])
Trait Implementations
impl<'a, T, U> Allocator<T> for StackAllocator<'a, T, U> where
T: 'a,
U: AllocatedSlice<&'a mut [T]>,
[src]
T: 'a,
U: AllocatedSlice<&'a mut [T]>,
type AllocatedMemory = AllocatedStackMemory<'a, T>
fn alloc_cell(&mut self, len: usize) -> AllocatedStackMemory<'a, T>
[src]
fn free_cell(&mut self, val: AllocatedStackMemory<'a, T>)
[src]
Auto Trait Implementations
impl<'a, T, U> RefUnwindSafe for StackAllocator<'a, T, U> where
T: RefUnwindSafe,
U: RefUnwindSafe,
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<'a, T, U> Send for StackAllocator<'a, T, U> where
T: Send,
U: Send,
T: Send,
U: Send,
impl<'a, T, U> Sync for StackAllocator<'a, T, U> where
T: Sync,
U: Sync,
T: Sync,
U: Sync,
impl<'a, T, U> Unpin for StackAllocator<'a, T, U> where
U: Unpin,
U: Unpin,
impl<'a, T, U> !UnwindSafe for StackAllocator<'a, T, U>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,