Struct std::collections::vec_deque::PlaceBack
[−]
[src]
#[must_use = "places do nothing unless written to with `<-` syntax"]pub struct PlaceBack<'a, T> where
T: 'a, { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (collection_placement
#30172)
struct name and placement protocol are subject to change
A place for insertion at the back of a VecDeque
.
See VecDeque::place_back
for details.
Trait Implementations
impl<'a, T> InPlace<T> for PlaceBack<'a, T>
[src]
impl<'a, T> InPlace<T> for PlaceBack<'a, T>
type Owner = &'a mut T
Owner
is the type of the end value of PLACE <- EXPR
Read more
ⓘImportant traits for &'a mut Iunsafe fn finalize(self) -> &'a mut T
[src]
ⓘImportant traits for &'a mut I
unsafe fn finalize(self) -> &'a mut T
Converts self into the final value, shifting deallocation/cleanup responsibilities (if any remain), over to the returned instance of Owner
and forgetting self. Read more
impl<'a, T> Place<T> for PlaceBack<'a, T>
[src]
impl<'a, T> Place<T> for PlaceBack<'a, T>
fn pointer(&mut self) -> *mut T
[src]
fn pointer(&mut self) -> *mut T
Returns the address where the input value will be written. Note that the data at this address is generally uninitialized, and thus one should use ptr::write
for initializing it. Read more
impl<'a, T> Placer<T> for PlaceBack<'a, T>
[src]
impl<'a, T> Placer<T> for PlaceBack<'a, T>
type Place = PlaceBack<'a, T>
Place
is the intermediate agent guarding the uninitialized state for Data
. Read more
fn make_place(self) -> PlaceBack<'a, T>
[src]
fn make_place(self) -> PlaceBack<'a, T>
Creates a fresh place from self
.
impl<'a, T> Debug for PlaceBack<'a, T> where
T: 'a + Debug,
[src]
impl<'a, T> Debug for PlaceBack<'a, T> where
T: 'a + Debug,