Struct typedmap::dashmap::RefMut[][src]

pub struct RefMut<'a, Marker, K: 'static + TypedMapKey<Marker>, S>(_, _, _);

A mutable reference

Implementations

impl<'a, Marker, K: 'static + TypedMapKey<Marker>, S: BuildHasher> RefMut<'a, Marker, K, S>[src]

pub fn key(&self) -> &K[src]

pub fn value(&self) -> &K::Value[src]

pub fn value_mut(&mut self) -> &mut K::Value[src]

pub fn pair(&self) -> (&K, &K::Value)[src]

pub fn pair_mut(&mut self) -> (&K, &K::Value)[src]

Trait Implementations

impl<'a, Marker, K: TypedMapKey<Marker>, S> Debug for RefMut<'a, Marker, K, S>[src]

impl<'a, Marker, K: TypedMapKey<Marker>, S: BuildHasher> Deref for RefMut<'a, Marker, K, S>[src]

type Target = K::Value

The resulting type after dereferencing.

impl<'a, Marker, K: TypedMapKey<Marker>, S: BuildHasher> DerefMut for RefMut<'a, Marker, K, S>[src]

Auto Trait Implementations

impl<'a, Marker, K, S> !RefUnwindSafe for RefMut<'a, Marker, K, S>

impl<'a, Marker, K, S> Send for RefMut<'a, Marker, K, S> where
    K: Send,
    Marker: Send,
    S: BuildHasher

impl<'a, Marker, K, S> Sync for RefMut<'a, Marker, K, S> where
    K: Sync,
    Marker: Sync,
    S: BuildHasher

impl<'a, Marker, K, S> Unpin for RefMut<'a, Marker, K, S> where
    K: Unpin,
    Marker: Unpin

impl<'a, Marker, K, S> !UnwindSafe for RefMut<'a, Marker, K, S>

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.