Struct arc_swap::access::MapGuard [−][src]
pub struct MapGuard<G, T> { /* fields omitted */ }
Expand description
A plumbing type.
This is the guard type for Map
. It is accessible and nameable, but is not expected to be
generally used directly.
Trait Implementations
impl<G: Copy, T: Copy> Copy for MapGuard<G, T>
[src]
impl<G, T> Send for MapGuard<G, T> where
G: Send,
&'a T: Send,
[src]
G: Send,
&'a T: Send,
impl<G, T> Sync for MapGuard<G, T> where
G: Sync,
&'a T: Sync,
[src]
G: Sync,
&'a T: Sync,
Auto Trait Implementations
impl<G, T> RefUnwindSafe for MapGuard<G, T> where
G: RefUnwindSafe,
T: RefUnwindSafe,
G: RefUnwindSafe,
T: RefUnwindSafe,
impl<G, T> Unpin for MapGuard<G, T> where
G: Unpin,
G: Unpin,
impl<G, T> UnwindSafe for MapGuard<G, T> where
G: UnwindSafe,
T: RefUnwindSafe,
G: UnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T, A> DynAccess<T> for A where
A: Access<T>,
<A as Access<T>>::Guard: 'static,
[src]
impl<T, A> DynAccess<T> for A where
A: Access<T>,
<A as Access<T>>::Guard: 'static,
[src]pub fn load(&Self) -> DynGuard<T>
[src]
pub fn load(&Self) -> DynGuard<T>
[src]The equivalent of Access::load
.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more