Struct bo::lense::L[][src]

pub struct L<O, V, G, S> { /* fields omitted */ }

Implementations

impl<O, V, G, S> L<O, V, G, S>[src]

pub fn new(x: G, y: S) -> L<O, V, G, S>[src]

Trait Implementations

impl<O, V, G, S> Lense for L<O, V, G, S> where
    G: Fn(&O) -> V,
    S: Fn(&O, &V) -> O, 
[src]

type Object = O

type Value = V

Auto Trait Implementations

impl<O, V, G, S> RefUnwindSafe for L<O, V, G, S> where
    G: RefUnwindSafe,
    O: RefUnwindSafe,
    S: RefUnwindSafe,
    V: RefUnwindSafe

impl<O, V, G, S> Send for L<O, V, G, S> where
    G: Send,
    O: Send,
    S: Send,
    V: Send

impl<O, V, G, S> Sync for L<O, V, G, S> where
    G: Sync,
    O: Sync,
    S: Sync,
    V: Sync

impl<O, V, G, S> Unpin for L<O, V, G, S> where
    G: Unpin,
    O: Unpin,
    S: Unpin,
    V: Unpin

impl<O, V, G, S> UnwindSafe for L<O, V, G, S> where
    G: UnwindSafe,
    O: UnwindSafe,
    S: UnwindSafe,
    V: 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.