Enum in_place::entry::EntryWithSearchKey
source · [−]pub enum EntryWithSearchKey<Occ, Vac, K> {
Occupied(Occ, K),
Vacant(Vac),
}
Variants
Occupied(Occ, K)
Vacant(Vac)
Trait Implementations
sourceimpl<'c, Occ, Vac, K> From<EntryWithSearchKey<Occ, Vac, K>> for Entry<Occ, Vac>
impl<'c, Occ, Vac, K> From<EntryWithSearchKey<Occ, Vac, K>> for Entry<Occ, Vac>
sourcefn from(entry: EntryWithSearchKey<Occ, Vac, K>) -> Self
fn from(entry: EntryWithSearchKey<Occ, Vac, K>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl<Occ, Vac, K> RefUnwindSafe for EntryWithSearchKey<Occ, Vac, K> where
K: RefUnwindSafe,
Occ: RefUnwindSafe,
Vac: RefUnwindSafe,
impl<Occ, Vac, K> Send for EntryWithSearchKey<Occ, Vac, K> where
K: Send,
Occ: Send,
Vac: Send,
impl<Occ, Vac, K> Sync for EntryWithSearchKey<Occ, Vac, K> where
K: Sync,
Occ: Sync,
Vac: Sync,
impl<Occ, Vac, K> Unpin for EntryWithSearchKey<Occ, Vac, K> where
K: Unpin,
Occ: Unpin,
Vac: Unpin,
impl<Occ, Vac, K> UnwindSafe for EntryWithSearchKey<Occ, Vac, K> where
K: UnwindSafe,
Occ: UnwindSafe,
Vac: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more