Struct lens_rs::optics::Err [−][src]
Trait Implementations
impl<Optic: Clone> Clone for Err<Optic>
[src]
impl<Optic: Copy> Copy for Err<Optic>
[src]
impl<Optic: Debug> Debug for Err<Optic>
[src]
impl<Optic: Eq> Eq for Err<Optic>
[src]
impl<Optic: PartialEq> PartialEq<Err<Optic>> for Err<Optic>
[src]
impl<Pm, T, E> Prism<Result<T, E>> for Err<Pm> where
Pm: Prism<E>,
[src]
Pm: Prism<E>,
impl<Pm, T, E> PrismMut<Result<T, E>> for Err<Pm> where
Pm: PrismMut<E>,
[src]
Pm: PrismMut<E>,
impl<Pm, T, E> PrismRef<Result<T, E>> for Err<Pm> where
Pm: PrismRef<E>,
[src]
Pm: PrismRef<E>,
impl<Rv, T, E> Review<Result<T, E>> for Err<Rv> where
Rv: Review<E>,
[src]
Rv: Review<E>,
impl<Optic> StructuralEq for Err<Optic>
[src]
impl<Optic> StructuralPartialEq for Err<Optic>
[src]
impl<Tr, T, E> Traversal<Result<T, E>> for Err<Tr> where
Tr: Traversal<E>,
[src]
Tr: Traversal<E>,
impl<Tr, T, E> TraversalMut<Result<T, E>> for Err<Tr> where
Tr: TraversalMut<E>,
[src]
Tr: TraversalMut<E>,
fn traverse_mut<'a>(
&self,
source: &'a mut Result<T, E>
) -> Vec<&'a mut Self::To>
[src]
&self,
source: &'a mut Result<T, E>
) -> Vec<&'a mut Self::To>
impl<Tr, T, E> TraversalRef<Result<T, E>> for Err<Tr> where
Tr: TraversalRef<E>,
[src]
Tr: TraversalRef<E>,
Auto Trait Implementations
impl<Optic> RefUnwindSafe for Err<Optic> where
Optic: RefUnwindSafe,
Optic: RefUnwindSafe,
impl<Optic> Send for Err<Optic> where
Optic: Send,
Optic: Send,
impl<Optic> Sync for Err<Optic> where
Optic: Sync,
Optic: Sync,
impl<Optic> Unpin for Err<Optic> where
Optic: Unpin,
Optic: Unpin,
impl<Optic> UnwindSafe for Err<Optic> where
Optic: UnwindSafe,
Optic: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,