[][src]Struct pl_lens::ComposedLens

pub struct ComposedLens<LHS, RHS> { /* fields omitted */ }

Composes two Lenses.

In pseudocode:

    compose(Lens<A, B>, Lens<B, C>) -> Lens<A, C>

Trait Implementations

impl<LHS, RHS> Lens for ComposedLens<LHS, RHS> where
    LHS: RefLens,
    LHS::Target: 'static,
    RHS: Lens<Source = LHS::Target>, 
[src]

type Source = LHS::Source

The lens source type, i.e., the object containing the field.

type Target = RHS::Target

The lens target type, i.e., the field to be accessed or modified.

impl<LHS, RHS> RefLens for ComposedLens<LHS, RHS> where
    LHS: RefLens,
    LHS::Target: 'static,
    RHS: RefLens<Source = LHS::Target>, 
[src]

impl<LHS, RHS> ValueLens for ComposedLens<LHS, RHS> where
    LHS: RefLens,
    LHS::Target: 'static,
    RHS: ValueLens<Source = LHS::Target>, 
[src]

Auto Trait Implementations

impl<LHS, RHS> RefUnwindSafe for ComposedLens<LHS, RHS> where
    LHS: RefUnwindSafe,
    RHS: RefUnwindSafe

impl<LHS, RHS> Send for ComposedLens<LHS, RHS> where
    LHS: Send,
    RHS: Send

impl<LHS, RHS> Sync for ComposedLens<LHS, RHS> where
    LHS: Sync,
    RHS: Sync

impl<LHS, RHS> Unpin for ComposedLens<LHS, RHS> where
    LHS: Unpin,
    RHS: Unpin

impl<LHS, RHS> UnwindSafe for ComposedLens<LHS, RHS> where
    LHS: UnwindSafe,
    RHS: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.