Struct typedmap::dashmap::Ref [−][src]
An immutable reference
Implementations
impl<'a, Marker, K: 'static + TypedMapKey<Marker>, S: BuildHasher> Ref<'a, Marker, K, S>
[src]
pub fn key(&self) -> &K
[src]
pub fn value(&self) -> &K::Value
[src]
pub fn pair(&self) -> (&K, &K::Value)
[src]
Trait Implementations
impl<'a, Marker, K: TypedMapKey<Marker>, S> Debug for Ref<'a, Marker, K, S>
[src]
impl<'a, Marker, K: TypedMapKey<Marker>, S: BuildHasher> Deref for Ref<'a, Marker, K, S>
[src]
Auto Trait Implementations
impl<'a, Marker, K, S> !RefUnwindSafe for Ref<'a, Marker, K, S>
impl<'a, Marker, K, S> Send for Ref<'a, Marker, K, S> where
K: Send,
Marker: Send,
S: BuildHasher,
K: Send,
Marker: Send,
S: BuildHasher,
impl<'a, Marker, K, S> Sync for Ref<'a, Marker, K, S> where
K: Sync,
Marker: Sync,
S: BuildHasher,
K: Sync,
Marker: Sync,
S: BuildHasher,
impl<'a, Marker, K, S> Unpin for Ref<'a, Marker, K, S> where
K: Unpin,
Marker: Unpin,
K: Unpin,
Marker: Unpin,
impl<'a, Marker, K, S> !UnwindSafe for Ref<'a, Marker, K, S>
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>,