pub struct AndThen<A, B> {
pub first: A,
pub second: B,
}
Expand description
A visitor which applies A
and then B
.
Fields
first: A
second: B
Trait Implementations
sourceimpl<A: PartialEq, B: PartialEq> PartialEq<AndThen<A, B>> for AndThen<A, B>
impl<A: PartialEq, B: PartialEq> PartialEq<AndThen<A, B>> for AndThen<A, B>
impl<A: Copy, B: Copy> Copy for AndThen<A, B>
impl<A: Eq, B: Eq> Eq for AndThen<A, B>
impl<A, B> StructuralEq for AndThen<A, B>
impl<A, B> StructuralPartialEq for AndThen<A, B>
Auto Trait Implementations
impl<A, B> RefUnwindSafe for AndThen<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for AndThen<A, B>where
A: Send,
B: Send,
impl<A, B> Sync for AndThen<A, B>where
A: Sync,
B: Sync,
impl<A, B> Unpin for AndThen<A, B>where
A: Unpin,
B: Unpin,
impl<A, B> UnwindSafe for AndThen<A, B>where
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more