Struct nom::lib::std::collections::hash_map::EntryPlace
[−]
[src]
#[must_use = "places do nothing unless written to with `<-` syntax"]pub struct EntryPlace<'a, K, V> where
K: 'a,
V: 'a, { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (collection_placement
)
struct name and placement protocol is subject to change
A place for insertion to a Entry
.
See HashMap::entry
for details.
Trait Implementations
impl<'a, K, V> Debug for EntryPlace<'a, K, V> where
K: 'a + Debug,
V: 'a + Debug,
[src]
K: 'a + Debug,
V: 'a + Debug,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl<'a, K, V> InPlace<V> for EntryPlace<'a, K, V>
[src]
type Owner = ()
🔬 This is a nightly-only experimental API. (
placement_new_protocol
)Owner
is the type of the end value of PLACE <- EXPR
Read more
unsafe fn finalize(self)
[src]
🔬 This is a nightly-only experimental API. (
placement_new_protocol
)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, K, V> Place<V> for EntryPlace<'a, K, V>
[src]
fn pointer(&mut self) -> *mut V
[src]
🔬 This is a nightly-only experimental API. (
placement_new_protocol
)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