Struct lens_rs::optics::_Some[][src]

pub struct _Some<Optic>(pub Optic);

Trait Implementations

impl<Optic: Clone> Clone for _Some<Optic>[src]

impl<Optic: Copy> Copy for _Some<Optic>[src]

impl<Pm, T> Prism<Option<T>> for _Some<Pm> where
    Pm: Prism<T>, 
[src]

type To = Pm::To

impl<Rv, T> Review<Option<T>> for _Some<Rv> where
    Rv: Review<T>, 
[src]

type From = Rv::From

impl<Tr, T> Traversal<Option<T>> for _Some<Tr> where
    Tr: Traversal<T>, 
[src]

type To = Tr::To

Auto Trait Implementations

impl<Optic> RefUnwindSafe for _Some<Optic> where
    Optic: RefUnwindSafe

impl<Optic> Send for _Some<Optic> where
    Optic: Send

impl<Optic> Sync for _Some<Optic> where
    Optic: Sync

impl<Optic> Unpin for _Some<Optic> where
    Optic: Unpin

impl<Optic> UnwindSafe for _Some<Optic> where
    Optic: 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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.