Struct refraction::Invert [] [src]

pub struct Invert<L: ?Sized> { /* fields omitted */ }

The inversion of a lenticuloid.

Methods

impl<L> Invert<L>
[src]

Trait Implementations

impl<L: Iso> PartialLens for Invert<L> where
    L::AtInitial: Iso,
    L::AtFinal: Iso
[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<L: Iso> Lens for Invert<L> where
    L::AtInitial: Iso,
    L::AtFinal: Iso
[src]

impl<L: Iso> Prism for Invert<L> where
    L::AtInitial: Iso,
    L::AtFinal: Iso
[src]

impl<L: Iso> Iso for Invert<L> where
    L::AtInitial: Iso,
    L::AtFinal: Iso
[src]

impl<L: Clone + ?Sized> Clone for Invert<L>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<L: Copy + ?Sized> Copy for Invert<L>
[src]

impl<L: Debug + ?Sized> Debug for Invert<L>
[src]

Formats the value using the given formatter.

impl<L: Default + ?Sized> Default for Invert<L>
[src]

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

impl<L: Lenticuloid + ?Sized> Lenticuloid for Invert<L>
[src]