pub struct EitherIter<A, B> { /* private fields */ }Expand description
An EitherIter yields one element: the single value in an OxiEither.
Implementations§
Trait Implementations§
Source§impl<A: Clone, B: Clone> Clone for EitherIter<A, B>
impl<A: Clone, B: Clone> Clone for EitherIter<A, B>
Source§fn clone(&self) -> EitherIter<A, B>
fn clone(&self) -> EitherIter<A, B>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<A, B> Freeze for EitherIter<A, B>
impl<A, B> RefUnwindSafe for EitherIter<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for EitherIter<A, B>
impl<A, B> Sync for EitherIter<A, B>
impl<A, B> Unpin for EitherIter<A, B>
impl<A, B> UnsafeUnpin for EitherIter<A, B>where
A: UnsafeUnpin,
B: UnsafeUnpin,
impl<A, B> UnwindSafe for EitherIter<A, B>where
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more