Struct alloc::vec_deque::PlaceFront [] [src]

#[must_use = "places do nothing unless written to with `<-` syntax"]
pub struct PlaceFront<'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 front of a VecDeque.

See VecDeque::place_front for details.

Trait Implementations

impl<'a, T: Debug + 'a> Debug for PlaceFront<'a, T>
[src]

Formats the value using the given formatter. Read more

impl<'a, T> Placer<T> for PlaceFront<'a, T>
[src]

🔬 This is a nightly-only experimental API. (placement_new_protocol #27779)

Place is the intermediate agent guarding the uninitialized state for Data. Read more

🔬 This is a nightly-only experimental API. (placement_new_protocol #27779)

Creates a fresh place from self.

impl<'a, T> Place<T> for PlaceFront<'a, T>
[src]

🔬 This is a nightly-only experimental API. (placement_new_protocol #27779)

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> InPlace<T> for PlaceFront<'a, T>
[src]

🔬 This is a nightly-only experimental API. (placement_new_protocol #27779)

Owner is the type of the end value of PLACE <- EXPR Read more

🔬 This is a nightly-only experimental API. (placement_new_protocol #27779)

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

Auto Trait Implementations

impl<'a, T> Send for PlaceFront<'a, T> where
    T: Send

impl<'a, T> Sync for PlaceFront<'a, T> where
    T: Sync