[−][src]Struct alloc_no_stdlib::StackAllocator
Fields
nop: &'a mut [T]system_resources: Ufree_list_start: usizefree_list_overflow_count: usizeinitialize: fn(_: &mut [T])Trait Implementations
impl<'a, T: 'a, U: AllocatedSlice<&'a mut [T]>> Allocator<T> for StackAllocator<'a, T, U>[src]
type AllocatedMemory = AllocatedStackMemory<'a, T>
fn alloc_cell(
self: &mut StackAllocator<'a, T, U>,
len: usize
) -> AllocatedStackMemory<'a, T>[src]
self: &mut StackAllocator<'a, T, U>,
len: usize
) -> AllocatedStackMemory<'a, T>
fn free_cell(
self: &mut StackAllocator<'a, T, U>,
val: AllocatedStackMemory<'a, T>
)[src]
self: &mut StackAllocator<'a, T, U>,
val: AllocatedStackMemory<'a, T>
)
Auto Trait Implementations
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,
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>,