collections::vec_deque::PlaceFront

Struct collections::vec_deque::PlaceFront

#[must_use = "places do nothing unless written to with `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 Implementationsimpl<'a, T: Debug + 'a> Debug for PlaceFront<'a, T>[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter.
impl<'a, T> Placer<T> for PlaceFront<'a, T>[src]
type Place = PlaceFront<'a, T>
???? This is a nightly-only experimental API.  (placement_new_protocol #27779)Place is the intermedate agent guarding the uninitialized state for Data. Read more
fn make_place(self) -> Self
???? 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]
fn pointer(&mut self) -> *mut T
???? 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]
type Owner = &'a mut T
???? This is a nightly-only experimental API.  (placement_new_protocol #27779)Owner is the type of the end value of PLACE <- EXPR Read more
unsafe fn finalize(self) -> &'a mut T
???? 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

    

    

    
        
            Help

            
                Keyboard Shortcuts

                
                    ?
                    Show this help dialog
                    S
                    Focus the search field
                    &larrb;
                    Move up in search results
                    &rarrb;
                    Move down in search results
                    ⏎
                    Go to active search result
                    +
                    Collapse/expand all sections
                
            

            
                Search Tricks

                
                    Prefix searches with a type followed by a colon (e.g.
                    fn:) to restrict the search to a given type.
                

                
                    Accepted types are: fn, mod,
                    struct, enum,
                    trait, type, macro,
                    and const.
                

                
                    Search functions by type signature (e.g.
                    vec -> usize or * -> vec)
                
            
        
    

    

    
    
    
    

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/collections/vec_deque/struct.PlaceFront.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部