pub struct Then<A, B> {
pub first: A,
pub second: B,
}Expand description
Applies first, then second.
Fields§
§first: AApplied first.
second: BApplied to the result of first.
Trait Implementations§
impl<A: Copy, B: Copy> Copy for Then<A, B>
impl<A: Eq, B: Eq> Eq for Then<A, B>
impl<A: PartialEq, B: PartialEq> StructuralPartialEq for Then<A, B>
Auto Trait Implementations§
impl<A, B> Forget for Then<A, B>
impl<A, B> Freeze for Then<A, B>
impl<A, B> Move for Then<A, B>
impl<A, B> RefUnwindSafe for Then<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Then<A, B>
impl<A, B> Sync for Then<A, B>
impl<A, B> Unpin for Then<A, B>
impl<A, B> UnsafeUnpin for Then<A, B>where
A: UnsafeUnpin,
B: UnsafeUnpin,
impl<A, B> UnwindSafe for Then<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