pub struct TryPair<A, B> {
pub first: A,
pub second: B,
}Fields§
§first: A§second: BImplementations§
Trait Implementations§
impl<A: Copy, B: Copy> Copy for TryPair<A, B>
impl<A: Eq, B: Eq> Eq for TryPair<A, B>
Source§impl<A: PartialEq, B: PartialEq> PartialEq for TryPair<A, B>
impl<A: PartialEq, B: PartialEq> PartialEq for TryPair<A, B>
impl<A: PartialEq, B: PartialEq> StructuralPartialEq for TryPair<A, B>
Auto Trait Implementations§
impl<A, B> Freeze for TryPair<A, B>
impl<A, B> RefUnwindSafe for TryPair<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for TryPair<A, B>
impl<A, B> Sync for TryPair<A, B>
impl<A, B> Unpin for TryPair<A, B>
impl<A, B> UnsafeUnpin for TryPair<A, B>where
A: UnsafeUnpin,
B: UnsafeUnpin,
impl<A, B> UnwindSafe for TryPair<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