[−][src]Struct copyless::VecAllocation
A typesafe helper that separates new value construction from vector growing, allowing LLVM to ideally construct the element in place.
Implementations
impl<'a, T> VecAllocation<'a, T>
[src][−]
pub fn init(self, value: T) -> usize
[src][−]
Consumes self and writes the given value into the allocation.
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for VecAllocation<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T> Send for VecAllocation<'a, T> where
T: Send,
T: Send,
impl<'a, T> Sync for VecAllocation<'a, T> where
T: Sync,
T: Sync,
impl<'a, T> Unpin for VecAllocation<'a, T>
impl<'a, T> !UnwindSafe for VecAllocation<'a, T>
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>,