Struct druid::im::ordmap::OccupiedEntry
source · pub struct OccupiedEntry<'a, K, V>where
K: Ord + Clone,
V: Clone,{ /* private fields */ }
Expand description
An entry for a mapping that already exists in the map.
Implementations§
source§impl<'a, K, V> OccupiedEntry<'a, K, V>where
K: 'a + Ord + Clone,
V: 'a + Clone,
impl<'a, K, V> OccupiedEntry<'a, K, V>where K: 'a + Ord + Clone, V: 'a + Clone,
sourcepub fn remove_entry(self) -> (K, V)
pub fn remove_entry(self) -> (K, V)
Remove this entry from the map and return the removed mapping.
Auto Trait Implementations§
impl<'a, K, V> RefUnwindSafe for OccupiedEntry<'a, K, V>where K: RefUnwindSafe, V: RefUnwindSafe,
impl<'a, K, V> Send for OccupiedEntry<'a, K, V>where K: Send + Sync, V: Send + Sync,
impl<'a, K, V> Sync for OccupiedEntry<'a, K, V>where K: Send + Sync, V: Send + Sync,
impl<'a, K, V> Unpin for OccupiedEntry<'a, K, V>where K: Unpin,
impl<'a, K, V> !UnwindSafe for OccupiedEntry<'a, K, V>
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.