[−][src]Struct myopic::lens::lens_fn::Lens
Fields
getter: fn(_: &D) -> A
setter: fn(_: &mut D, _: A)
Methods
impl<D, A> Lens<D, A>
[src]
Trait Implementations
impl<D, A> Lensable for Lens<D, A>
[src]
impl<D, A> Getter for Lens<D, A>
[src]
impl<D, A> Optical for Lens<D, A>
[src]
impl<D, A> Setter for Lens<D, A>
[src]
Auto Trait Implementations
impl<D, A> Send for Lens<D, A>
impl<D, A> Unpin for Lens<D, A>
impl<D, A> Sync for Lens<D, A>
impl<D, A> UnwindSafe for Lens<D, A>
impl<D, A> RefUnwindSafe for Lens<D, A>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,