[−][src]Struct heapless::pool::singleton::Box
A memory block that belongs to the global memory pool, POOL
Methods
impl<P> Box<P, Uninit> where
P: Pool,
[src]
P: Pool,
impl<P> Box<P, Uninit> where
P: Pool,
P::Data: AsSlice<Element = u8>,
[src]
P: Pool,
P::Data: AsSlice<Element = u8>,
pub fn freeze(self) -> Box<P, Init>
[src]
Freezes the contents of this memory block
See rust-lang/rust#58363 for details.
Trait Implementations
impl<P> Display for Box<P> where
P: Pool,
P::Data: Display,
[src]
P: Pool,
P::Data: Display,
impl<P> Debug for Box<P> where
P: Pool,
P::Data: Debug,
[src]
P: Pool,
P::Data: Debug,
impl<P> Deref for Box<P> where
P: Pool,
[src]
P: Pool,
impl<P> DerefMut for Box<P> where
P: Pool,
[src]
P: Pool,
impl<P, S> Drop for Box<P, S> where
P: Pool,
S: 'static,
[src]
P: Pool,
S: 'static,
impl<P, S> Sync for Box<P, S> where
P: Pool,
P::Data: Sync,
[src]
P: Pool,
P::Data: Sync,
impl<P, S> Send for Box<P, S> where
P: Pool,
P::Data: Send,
[src]
P: Pool,
P::Data: Send,
impl<P, T> AsSlice for Box<P> where
P: Pool,
P::Data: AsSlice<Element = T>,
[src]
P: Pool,
P::Data: AsSlice<Element = T>,
impl<P, T> AsMutSlice for Box<P> where
P: Pool,
P::Data: AsMutSlice<Element = T>,
[src]
P: Pool,
P::Data: AsMutSlice<Element = T>,
fn as_mut_slice(&mut self) -> &mut [T]
[src]
Blanket Implementations
impl<T, U> TryFrom 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> From for T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self