[−][src]Struct myopic::lens::lens::Lens
Fields
getter: G
setter: S
Methods
impl<G, S, D, A> Lens<G, S, D, A>
[src]
Trait Implementations
impl<G, S, D, A> Lensable for Lens<G, S, D, A>
[src]
impl<G, S, D, A> Getter for Lens<G, S, D, A> where
G: Fn(&D) -> A,
[src]
G: Fn(&D) -> A,
impl<G, S, D, A> Setter for Lens<G, S, D, A> where
S: Fn(&mut D, A),
[src]
S: Fn(&mut D, A),
Auto Trait Implementations
impl<G, S, D, A> Send for Lens<G, S, D, A> where
A: Send,
D: Send,
G: Send,
S: Send,
A: Send,
D: Send,
G: Send,
S: Send,
impl<G, S, D, A> Sync for Lens<G, S, D, A> where
A: Sync,
D: Sync,
G: Sync,
S: Sync,
A: Sync,
D: Sync,
G: Sync,
S: Sync,
impl<G, S, D, A> Unpin for Lens<G, S, D, A> where
A: Unpin,
D: Unpin,
G: Unpin,
S: Unpin,
A: Unpin,
D: Unpin,
G: Unpin,
S: Unpin,
impl<G, S, D, A> RefUnwindSafe for Lens<G, S, D, A> where
A: RefUnwindSafe,
D: RefUnwindSafe,
G: RefUnwindSafe,
S: RefUnwindSafe,
A: RefUnwindSafe,
D: RefUnwindSafe,
G: RefUnwindSafe,
S: RefUnwindSafe,
impl<G, S, D, A> UnwindSafe for Lens<G, S, D, A> where
A: UnwindSafe,
D: UnwindSafe,
G: UnwindSafe,
S: UnwindSafe,
A: UnwindSafe,
D: UnwindSafe,
G: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,