pub struct ArcM<K: Key, M: Member<K>> {
pub inner: Arc<M>,
pub _p: PhantomData<K>,
}Fields§
§inner: Arc<M>§_p: PhantomData<K>Trait Implementations§
Source§impl<K: Key, M: Member<K>> Ord for ArcM<K, M>
impl<K: Key, M: Member<K>> Ord for ArcM<K, M>
Source§impl<K: Key, M: Member<K>> PartialOrd for ArcM<K, M>
impl<K: Key, M: Member<K>> PartialOrd for ArcM<K, M>
impl<K: Key, M: Member<K>> Eq for ArcM<K, M>
Auto Trait Implementations§
impl<K, M> Freeze for ArcM<K, M>
impl<K, M> RefUnwindSafe for ArcM<K, M>where
K: RefUnwindSafe,
M: RefUnwindSafe,
impl<K, M> Send for ArcM<K, M>
impl<K, M> Sync for ArcM<K, M>
impl<K, M> Unpin for ArcM<K, M>where
K: Unpin,
impl<K, M> UnwindSafe for ArcM<K, M>where
M: RefUnwindSafe,
K: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more