[−][src]Struct copyless::BoxAllocation
A typesafe helper that stores the allocated pointer without the data initialized.
Methods
impl<T> BoxAllocation<T>
[src][−]
pub fn init(self, value: T) -> Box<T>
[src][−]
Consumes self and writes the given value into the allocation.
Trait Implementations
impl<T> Drop for BoxAllocation<T>
[src][+]
Auto Trait Implementations
impl<T> RefUnwindSafe for BoxAllocation<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> !Send for BoxAllocation<T>
impl<T> !Sync for BoxAllocation<T>
impl<T> Unpin for BoxAllocation<T>
impl<T> UnwindSafe for BoxAllocation<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
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,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,