pub struct Pair<T1, T2>(/* private fields */);
Trait Implementations§
Source§impl<T1: Deserialize, T2: Deserialize> Deserialize for Pair<T1, T2>
impl<T1: Deserialize, T2: Deserialize> Deserialize for Pair<T1, T2>
Source§type Output = (<T1 as Deserialize>::Output, <T2 as Deserialize>::Output)
type Output = (<T1 as Deserialize>::Output, <T2 as Deserialize>::Output)
Output should be Self, except for wrapper types.
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self::Output>
impl<T1, T2> StructuralPartialEq for Pair<T1, T2>
Auto Trait Implementations§
impl<T1, T2> Freeze for Pair<T1, T2>
impl<T1, T2> RefUnwindSafe for Pair<T1, T2>where
T1: RefUnwindSafe,
T2: RefUnwindSafe,
impl<T1, T2> Send for Pair<T1, T2>
impl<T1, T2> Sync for Pair<T1, T2>
impl<T1, T2> Unpin for Pair<T1, T2>
impl<T1, T2> UnwindSafe for Pair<T1, T2>where
T1: UnwindSafe,
T2: 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