Struct lens_rs::optics::_ref[][src]

pub struct _ref<Optic>(pub Optic);

Trait Implementations

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

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

impl<Optic: Debug> Debug for _ref<Optic>[src]

impl<Optic: Eq> Eq for _ref<Optic>[src]

impl<'t, T, Ls> LensRef<&'t T> for _ref<Ls> where
    Ls: LensRef<<&'t T as Deref>::Target>, 
[src]

impl<Optic: PartialEq> PartialEq<_ref<Optic>> for _ref<Optic>[src]

impl<'t, T, Pm> PrismRef<&'t T> for _ref<Pm> where
    Pm: PrismRef<<&'t T as Deref>::Target>, 
[src]

impl<Optic> StructuralEq for _ref<Optic>[src]

impl<Optic> StructuralPartialEq for _ref<Optic>[src]

impl<'t, T, Tr> TraversalRef<&'t T> for _ref<Tr> where
    Tr: TraversalRef<<&'t T as Deref>::Target>, 
[src]

type To = Tr::To

Auto Trait Implementations

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

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

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

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

impl<Optic> UnwindSafe for _ref<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.