pub struct ReferenceWritableKeyPath<Root, Value> { /* private fields */ }Expand description
A reference-writable keypath represents a path to a property that can be modified through a reference. This is a functional equivalent to Swift’s ReferenceWritableKeyPath.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Root, Value> Freeze for ReferenceWritableKeyPath<Root, Value>
impl<Root, Value> !RefUnwindSafe for ReferenceWritableKeyPath<Root, Value>
impl<Root, Value> !Send for ReferenceWritableKeyPath<Root, Value>
impl<Root, Value> !Sync for ReferenceWritableKeyPath<Root, Value>
impl<Root, Value> Unpin for ReferenceWritableKeyPath<Root, Value>
impl<Root, Value> !UnwindSafe for ReferenceWritableKeyPath<Root, Value>
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