[][src]Struct static_alloc::slab::Allocation

pub struct Allocation {
    pub ptr: NonNull<u8>,
    pub level: Level,
}

A successful allocation and current Level.

Fields

ptr: NonNull<u8>

Pointer to the region with specified layout.

level: Level

The observed amount of consumed bytes.

Trait Implementations

impl Debug for Allocation[src]

impl PartialEq<Allocation> for Allocation[src]

impl Eq for Allocation[src]

impl Ord for Allocation[src]

impl PartialOrd<Allocation> for Allocation[src]

impl Copy for Allocation[src]

impl Clone for Allocation[src]

Auto Trait Implementations

impl Unpin for Allocation

impl !Send for Allocation

impl !Sync for Allocation

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]