pub struct ReadableKeyPath<Root, Value> {
pub get: for<'a> fn(&'a Root) -> &'a Value,
}
Expand description
Read-only keypath
Fields§
§get: for<'a> fn(&'a Root) -> &'a Value
Implementations§
Source§impl<Root, Value> ReadableKeyPath<Root, Value>
impl<Root, Value> ReadableKeyPath<Root, Value>
Trait Implementations§
Source§impl<Root, Value> Readable<Root, Value> for ReadableKeyPath<Root, Value>
impl<Root, Value> Readable<Root, Value> for ReadableKeyPath<Root, Value>
Auto Trait Implementations§
impl<Root, Value> Freeze for ReadableKeyPath<Root, Value>
impl<Root, Value> RefUnwindSafe for ReadableKeyPath<Root, Value>
impl<Root, Value> Send for ReadableKeyPath<Root, Value>
impl<Root, Value> Sync for ReadableKeyPath<Root, Value>
impl<Root, Value> Unpin for ReadableKeyPath<Root, Value>
impl<Root, Value> UnwindSafe for ReadableKeyPath<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