Struct std::collections::linked_list::BackPlace
[−]
[src]
#[must_use = "places do nothing unless written to with `<-` syntax"]
pub struct BackPlace<'a, T> where T: 'a { /* fields omitted */ }
A place for insertion at the back of a LinkedList
.
See LinkedList::back_place
for details.
Trait Implementations
impl<'a, T> InPlace<T> for BackPlace<'a, T>
type Owner = ()
Unstable (
placement_new_protocol
#27779)Owner
is the type of the end value of in (PLACE) EXPR
Read more
unsafe fn finalize(self)
Unstable (
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
impl<'a, T> Place<T> for BackPlace<'a, T>
fn pointer(&mut self) -> *mut T
Unstable (
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