Struct refraction::Compose [] [src]

pub struct Compose<LF, LS: ?Sized> { /* fields omitted */ }

Composition of lenticuloids.

Methods

impl<LF, LS> Compose<LF, LS>
[src]

Trait Implementations

impl<LF: PartialLens, LS: ?Sized> PartialLens for Compose<LF, LS> where
    LS: PartialLens<InitialTarget = LF::InitialSource, FinalTarget = LF::FinalSource>,
    LF::AtInitial: PartialLens,
    LF::AtFinal: PartialLens,
    LS::AtInitial: PartialLens,
    LS::AtFinal: PartialLens
[src]

This signature is somewhat hacky; it awaits resolution of the FnBox issue for better design. Notably, the injection function returned by this method will (if law-abiding) only return Some exactly once; every time afterwards, it will return None. Read more

impl<LF: Lens, LS: ?Sized> Lens for Compose<LF, LS> where
    LS: Lens<InitialTarget = LF::InitialSource, FinalTarget = LF::FinalSource>,
    LF::AtInitial: Lens,
    LF::AtFinal: Lens,
    LS::AtInitial: Lens,
    LS::AtFinal: Lens
[src]

impl<LF: Prism, LS: ?Sized> Prism for Compose<LF, LS> where
    LS: Prism<InitialTarget = LF::InitialSource, FinalTarget = LF::FinalSource>,
    LF::AtInitial: Prism,
    LF::AtFinal: Prism,
    LS::AtInitial: Prism,
    LS::AtFinal: Prism
[src]

impl<LF: Iso, LS: ?Sized> Iso for Compose<LF, LS> where
    LS: Iso<InitialTarget = LF::InitialSource, FinalTarget = LF::FinalSource>,
    LF::AtInitial: Iso,
    LF::AtFinal: Iso,
    LS::AtInitial: Iso,
    LS::AtFinal: Iso
[src]

impl<LF: Clone, LS: Clone + ?Sized> Clone for Compose<LF, LS>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<LF: Copy, LS: Copy + ?Sized> Copy for Compose<LF, LS>
[src]

impl<LF: Debug, LS: Debug + ?Sized> Debug for Compose<LF, LS>
[src]

Formats the value using the given formatter.

impl<LF: Default, LS: Default + ?Sized> Default for Compose<LF, LS>
[src]

Returns the "default value" for a type. Read more

impl<LF: Lenticuloid, LS: ?Sized> Lenticuloid for Compose<LF, LS> where
    LS: Lenticuloid<InitialTarget = LF::InitialSource, FinalTarget = LF::FinalSource>, 
[src]