Struct alloc::vec::PlaceBack
[−]
[src]
#[must_use = "places do nothing unless written to with `<-` syntax"]pub struct PlaceBack<'a, 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 Vec
.
See Vec::place_back
for details.
Trait Implementations
impl<'a, T: Debug + 'a> Debug for PlaceBack<'a, T>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a, T> Placer<T> for PlaceBack<'a, T>
[src]
type Place = PlaceBack<'a, T>
Place
is the intermediate agent guarding the uninitialized state for Data
. Read more
fn make_place(self) -> Self
[src]
Creates a fresh place from self
.
impl<'a, T> Place<T> for PlaceBack<'a, T>
[src]
fn pointer(&mut self) -> *mut T
[src]
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