Struct im::lens::Compose [] [src]

pub struct Compose<A, B, C, L, R> where
    L: PartialLens<From = A, To = B>,
    R: PartialLens<From = B, To = C>, 
{ /* fields omitted */ }

Trait Implementations

impl<A, B, C, L, R> Clone for Compose<A, B, C, L, R> where
    L: PartialLens<From = A, To = B>,
    R: PartialLens<From = B, To = C>, 
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<A, B, C, L, R> PartialLens for Compose<A, B, C, L, R> where
    L: PartialLens<From = A, To = B>,
    R: PartialLens<From = B, To = C>, 
[src]

Get the focus of the lens, if available.

Put a value into the lens, returning the updated From value is the operation succeeded. Read more

Compose this lens with a lens from To to a new type Next, yielding a lens from From to Next. Read more

impl<A, B, C, L, R> Lens for Compose<A, B, C, L, R> where
    L: Lens<From = A, To = B>,
    R: Lens<From = B, To = C>, 
[src]

Get the focus of the lens.

Put a value into the lens, returning the updated From value.

Compose this lens with a lens from To to a new type Next, yielding a lens from From to Next. Read more