pub struct ArcMutexWritableOptionalKeyPathChain<Root, MutexValue, InnerValue, SubValue, F, G>where
F: for<'r> Fn(&'r Root) -> &'r MutexValue,
G: for<'r> Fn(&'r mut InnerValue) -> Option<&'r mut SubValue>,{ /* private fields */ }Expand description
A composed writable optional keypath chain through Arc<Mutex
Implementations§
Source§impl<Root, MutexValue, InnerValue, SubValue, F, G> ArcMutexWritableOptionalKeyPathChain<Root, MutexValue, InnerValue, SubValue, F, G>where
F: for<'r> Fn(&'r Root) -> &'r MutexValue,
G: for<'r> Fn(&'r mut InnerValue) -> Option<&'r mut SubValue>,
MutexValue: Borrow<Arc<Mutex<InnerValue>>>,
impl<Root, MutexValue, InnerValue, SubValue, F, G> ArcMutexWritableOptionalKeyPathChain<Root, MutexValue, InnerValue, SubValue, F, G>where
F: for<'r> Fn(&'r Root) -> &'r MutexValue,
G: for<'r> Fn(&'r mut InnerValue) -> Option<&'r mut SubValue>,
MutexValue: Borrow<Arc<Mutex<InnerValue>>>,
Auto Trait Implementations§
impl<Root, MutexValue, InnerValue, SubValue, F, G> Freeze for ArcMutexWritableOptionalKeyPathChain<Root, MutexValue, InnerValue, SubValue, F, G>
impl<Root, MutexValue, InnerValue, SubValue, F, G> RefUnwindSafe for ArcMutexWritableOptionalKeyPathChain<Root, MutexValue, InnerValue, SubValue, F, G>where
F: RefUnwindSafe,
G: RefUnwindSafe,
Root: RefUnwindSafe,
MutexValue: RefUnwindSafe,
InnerValue: RefUnwindSafe,
SubValue: RefUnwindSafe,
impl<Root, MutexValue, InnerValue, SubValue, F, G> Send for ArcMutexWritableOptionalKeyPathChain<Root, MutexValue, InnerValue, SubValue, F, G>
impl<Root, MutexValue, InnerValue, SubValue, F, G> Sync for ArcMutexWritableOptionalKeyPathChain<Root, MutexValue, InnerValue, SubValue, F, G>
impl<Root, MutexValue, InnerValue, SubValue, F, G> Unpin for ArcMutexWritableOptionalKeyPathChain<Root, MutexValue, InnerValue, SubValue, F, G>
impl<Root, MutexValue, InnerValue, SubValue, F, G> UnwindSafe for ArcMutexWritableOptionalKeyPathChain<Root, MutexValue, InnerValue, SubValue, F, G>where
F: UnwindSafe,
G: UnwindSafe,
Root: UnwindSafe,
MutexValue: UnwindSafe,
InnerValue: UnwindSafe,
SubValue: 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