pub struct First { /* private fields */ }
Expand description
Gets the first element of a pair.
T ::= True
λp.pT
Trait Implementations§
Source§impl Ord for First
impl Ord for First
Source§impl PartialOrd for First
impl PartialOrd for First
impl Copy for First
impl Eq 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 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