pub struct First { /* private fields */ }Expand description
Gets the first element of a pair.
T ::= True
λp.pTTrait Implementations§
impl Copy for First
impl Eq for First
Source§impl Ord for First
impl Ord for First
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for First
impl PartialOrd for First
impl StructuralPartialEq for First
Auto Trait Implementations§
impl Freeze for First
impl RefUnwindSafe for First
impl Send for First
impl Sync for First
impl Unpin for First
impl UnsafeUnpin for First
impl UnwindSafe for First
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