Struct heapless::pool::Box [−][src]
A memory block
Implementations
impl<T> Box<T, Uninit>
[src]
Trait Implementations
impl<A> AsMutSlice for Box<A> where
A: AsMutSlice,
[src]
A: AsMutSlice,
fn as_mut_slice(&mut self) -> &mut [A::Element]ⓘ
[src]
impl<A> AsSlice for Box<A> where
A: AsSlice,
[src]
A: AsSlice,
type Element = A::Element
The element type of the slice view
fn as_slice(&self) -> &[A::Element]ⓘ
[src]
impl<T> Debug for Box<T> where
T: Debug,
[src]
T: Debug,
impl<T> Deref for Box<T>
[src]
impl<T> DerefMut for Box<T>
[src]
impl<T> Display for Box<T> where
T: Display,
[src]
T: Display,
impl<T> Eq for Box<T> where
T: Eq,
[src]
T: Eq,
impl<T> Hash for Box<T> where
T: Hash,
[src]
T: Hash,
fn hash<H>(&self, state: &mut H) where
H: Hasher,
[src]
H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T> Ord for Box<T> where
T: Ord,
[src]
T: Ord,
fn cmp(&self, rhs: &Box<T>) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<T> PartialEq<Box<T, Init>> for Box<T> where
T: PartialEq,
[src]
T: PartialEq,
impl<T> PartialOrd<Box<T, Init>> for Box<T> where
T: PartialOrd,
[src]
T: PartialOrd,
fn partial_cmp(&self, rhs: &Box<T>) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T, S> Send for Box<T, S> where
T: Send,
[src]
T: Send,
impl<T> StableDeref for Box<T>
[src]
impl<T, S> Sync for Box<T, S> where
T: Sync,
[src]
T: Sync,
Auto Trait Implementations
impl<T, STATE = Init> !RefUnwindSafe for Box<T, STATE>
impl<T, STATE> Unpin for Box<T, STATE> where
STATE: Unpin,
STATE: Unpin,
impl<T, STATE = Init> !UnwindSafe for Box<T, STATE>
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,
pub 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> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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.
pub 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>,