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