Struct stry_common::utils::fenn::vec_map::OccupiedEntry [−][src]
Implementations
impl<'a, K: 'a, V: 'a> OccupiedEntry<'a, K, V>[src]
pub fn key(&self) -> &K[src]
pub fn get(&self) -> &V[src]
pub fn get_mut(&mut self) -> &mut V[src]
pub fn into_mut(self) -> &'a mut V[src]
pub fn insert(&mut self, value: V) -> V[src]
impl<'a, K: 'a, V: 'a> OccupiedEntry<'a, K, V> where
K: PartialEq, [src]
K: PartialEq,
Trait Implementations
impl<K, V> Debug for OccupiedEntry<'_, K, V> where
K: Debug,
V: Debug, [src]
K: Debug,
V: Debug,
Auto Trait Implementations
impl<'a, K, V> RefUnwindSafe for OccupiedEntry<'a, K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, K, V> Send for OccupiedEntry<'a, K, V> where
K: Send,
V: Send,
K: Send,
V: Send,
impl<'a, K, V> Sync for OccupiedEntry<'a, K, V> where
K: Sync,
V: Sync,
K: Sync,
V: Sync,
impl<'a, K, V> Unpin for OccupiedEntry<'a, K, V>
impl<'a, K, V> !UnwindSafe for OccupiedEntry<'a, K, V>
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,
pub 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> IntoOption for T[src]
fn some_if(self, predicate: bool) -> Option<Self>[src]
fn with_some_if<F>(self, predicate: F) -> Option<Self> where
F: FnOnce(&Self) -> bool, [src]
F: FnOnce(&Self) -> bool,
fn none_if(self, predicate: bool) -> Option<Self>[src]
fn with_none_if<F>(self, predicate: F) -> Option<Self> where
F: FnOnce(&Self) -> bool, [src]
F: FnOnce(&Self) -> bool,
impl<T> IntoResult for T[src]
fn ok_if<E>(self, predicate: bool, err: E) -> Result<Self, E>[src]
fn with_ok_if<F, E>(self, predicate: F, err: E) -> Result<Self, E> where
F: FnOnce(&Self) -> bool, [src]
F: FnOnce(&Self) -> bool,
fn err_if<E>(self, predicate: bool, err: E) -> Result<Self, E>[src]
fn with_err_if<F, E>(self, predicate: F, err: E) -> Result<Self, E> where
F: FnOnce(&Self) -> bool, [src]
F: FnOnce(&Self) -> bool,
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.
pub 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>,