Struct std::collections::linked_list::FrontPlace
[−]
[src]
#[must_use = "places do nothing unless written to with `<-` syntax"]pub struct FrontPlace<'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 front of a LinkedList.
See LinkedList::front_place for details.
Trait Implementations
impl<'a, T> Place<T> for FrontPlace<'a, 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 FrontPlace<'a, T>[src]
type Place = FrontPlace<'a, T>
Place is the intermedate agent guarding the uninitialized state for Data. Read more
fn make_place(self) -> FrontPlace<'a, T>
Creates a fresh place from self.