Struct small_sorted_map::OccupiedEntry [−][src]
Implementations
impl<'m, K, V, const SIZE: usize> OccupiedEntry<'m, K, V, SIZE> where
K: Ord + 'm,
V: 'm,
[src]
K: Ord + 'm,
V: 'm,
pub fn get_mut(&mut self) -> &mut V
[src]
pub fn into_mut(self) -> &'m mut V
[src]
pub fn insert(&mut self, value: V) -> V
[src]
pub fn remove(self) -> V
[src]
Trait Implementations
impl<'m, K: Debug, V: Debug, const SIZE: usize> Debug for OccupiedEntry<'m, K, V, SIZE> where
K: Ord + 'm,
V: 'm,
[src]
K: Ord + 'm,
V: 'm,
Auto Trait Implementations
impl<'m, K, V, const SIZE: usize> RefUnwindSafe for OccupiedEntry<'m, K, V, SIZE> where
K: RefUnwindSafe,
V: RefUnwindSafe,
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<'m, K, V, const SIZE: usize> Send for OccupiedEntry<'m, K, V, SIZE> where
K: Send,
V: Send,
K: Send,
V: Send,
impl<'m, K, V, const SIZE: usize> Sync for OccupiedEntry<'m, K, V, SIZE> where
K: Sync,
V: Sync,
K: Sync,
V: Sync,
impl<'m, K, V, const SIZE: usize> Unpin for OccupiedEntry<'m, K, V, SIZE> where
K: Unpin,
K: Unpin,
impl<'m, K, V, const SIZE: usize> !UnwindSafe for OccupiedEntry<'m, K, V, SIZE>
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, 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>,