pub struct Escape<T> { /* private fields */ }
Expand description
Allows values to “escape” dropping by sending them to the Terminal
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Escape<T>where
T: Freeze,
impl<T> RefUnwindSafe for Escape<T>where
T: RefUnwindSafe,
impl<T> Send for Escape<T>where
T: Send,
impl<T> Sync for Escape<T>
impl<T> Unpin for Escape<T>where
T: Unpin,
impl<T> UnwindSafe for Escape<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> MemoryUsage for T
impl<T> MemoryUsage for T
Source§fn properties_required(&self) -> Properties
fn properties_required(&self) -> Properties
Get set of properties required for the usage.
Source§fn memory_fitness(&self, properties: Properties) -> u32
fn memory_fitness(&self, properties: Properties) -> u32
Get comparable fitness value for memory properties. Read more
Source§fn allocator_fitness(&self, kind: Kind) -> u32
fn allocator_fitness(&self, kind: Kind) -> u32
Get comparable fitness value for memory allocator.