[][src]Trait myopic::lens::Optical

pub trait Optical: Lensable + Getter + Setter { }

The Optical trait is necessary to carry around trait objects satisfying multiple traits.

Implementors

impl<D, A> Optical for myopic::lens::lens_box::Lens<D, A>[src]

impl<D, A> Optical for myopic::lens::lens_fn::Lens<D, A>[src]

impl<D, A, B> Optical for myopic::lens::lens_box::ComposedLens<D, A, B>[src]

impl<G, S, D, A> Optical for myopic::lens::lens::Lens<G, S, D, A> where
    S: Fn(&mut D, A),
    G: Fn(&D) -> A, 
[src]

impl<L1, L2, D, A, B> Optical for myopic::lens::lens::ComposedLens<L1, L2> where
    L1: Optical<Input = D, Output = A>,
    L2: Optical<Input = A, Output = B>, 
[src]

impl<O, O2, D, A, B> Optical for myopic::lens::lens_fn::ComposedLens<O, O2> where
    O: Optical<Input = D, Output = A>,
    O2: Optical<Input = A, Output = B>, 
[src]

Loading content...