[−][src]Enum idmap::Entry
Variants
Occupied(OccupiedEntry<'a, K, V, T>)
Vacant(VacantEntry<'a, K, V, T>)
Implementations
impl<'a, K: IntegerId + 'a, V: 'a, T: EntryTable<K, V>> Entry<'a, K, V, T>
[src]
pub fn or_insert(self, value: V) -> &'a mut V
[src]
pub fn or_insert_with<F>(self, func: F) -> &'a mut V where
F: FnOnce() -> V,
[src]
F: FnOnce() -> V,
Auto Trait Implementations
impl<'a, K, V, T> RefUnwindSafe for Entry<'a, K, V, T> where
K: RefUnwindSafe,
T: RefUnwindSafe,
V: RefUnwindSafe,
K: RefUnwindSafe,
T: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, K, V, T> Send for Entry<'a, K, V, T> where
K: Send,
T: Send,
V: Send,
K: Send,
T: Send,
V: Send,
impl<'a, K, V, T> Sync for Entry<'a, K, V, T> where
K: Sync,
T: Sync,
V: Sync,
K: Sync,
T: Sync,
V: Sync,
impl<'a, K, V, T> Unpin for Entry<'a, K, V, T> where
K: Unpin,
K: Unpin,
impl<'a, K, V, T> !UnwindSafe for Entry<'a, K, V, T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,