Struct small_sorted_map::OccupiedEntry[][src]

pub struct OccupiedEntry<'m, K, V, const SIZE: usize> where
    K: Ord + 'm,
    V: 'm, 
{ /* fields omitted */ }

Implementations

impl<'m, K, V, const SIZE: usize> OccupiedEntry<'m, K, V, SIZE> where
    K: Ord + 'm,
    V: 'm, 
[src]

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]

Auto Trait Implementations

impl<'m, K, V, const SIZE: usize> RefUnwindSafe for OccupiedEntry<'m, K, V, SIZE> where
    K: RefUnwindSafe,
    V: RefUnwindSafe

impl<'m, K, V, const SIZE: usize> Send for OccupiedEntry<'m, K, V, SIZE> where
    K: Send,
    V: Send

impl<'m, K, V, const SIZE: usize> Sync for OccupiedEntry<'m, K, V, SIZE> where
    K: Sync,
    V: Sync

impl<'m, K, V, const SIZE: usize> Unpin for OccupiedEntry<'m, K, V, SIZE> where
    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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.