pub struct FieldLens<G, P> { /* private fields */ }Expand description
A lens built from getter and setter closures.
Trait Implementations§
Auto Trait Implementations§
impl<G, P> Freeze for FieldLens<G, P>
impl<G, P> RefUnwindSafe for FieldLens<G, P>where
G: RefUnwindSafe,
P: RefUnwindSafe,
impl<G, P> Send for FieldLens<G, P>
impl<G, P> Sync for FieldLens<G, P>
impl<G, P> Unpin for FieldLens<G, P>
impl<G, P> UnsafeUnpin for FieldLens<G, P>where
G: UnsafeUnpin,
P: UnsafeUnpin,
impl<G, P> UnwindSafe for FieldLens<G, P>where
G: UnwindSafe,
P: 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