Struct heapless::pool::Box[][src]

pub struct Box<T, STATE = Init> { /* fields omitted */ }

A memory block

Implementations

impl<T> Box<T, Uninit>[src]

pub fn init(self, val: T) -> Box<T, Init>[src]

Initializes this memory block

Trait Implementations

impl<A> AsMutSlice for Box<A> where
    A: AsMutSlice
[src]

impl<A> AsSlice for Box<A> where
    A: AsSlice
[src]

type Element = A::Element

The element type of the slice view

impl<T> Debug for Box<T> where
    T: Debug
[src]

impl<T> Deref for Box<T>[src]

type Target = T

The resulting type after dereferencing.

impl<T> DerefMut for Box<T>[src]

impl<T> Display for Box<T> where
    T: Display
[src]

impl<T> Eq for Box<T> where
    T: Eq
[src]

impl<T> Hash for Box<T> where
    T: Hash
[src]

impl<T> Ord for Box<T> where
    T: Ord
[src]

impl<T> PartialEq<Box<T, Init>> for Box<T> where
    T: PartialEq
[src]

impl<T> PartialOrd<Box<T, Init>> for Box<T> where
    T: PartialOrd
[src]

impl<T, S> Send for Box<T, S> where
    T: Send
[src]

impl<T> StableDeref for Box<T>[src]

impl<T, S> Sync for Box<T, S> where
    T: Sync
[src]

Auto Trait Implementations

impl<T, STATE = Init> !RefUnwindSafe for Box<T, STATE>

impl<T, STATE> Unpin for Box<T, STATE> where
    STATE: Unpin

impl<T, STATE = Init> !UnwindSafe for Box<T, STATE>

Blanket Implementations

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

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

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

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

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

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

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[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> 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.