pub struct FirstOf { /* private fields */ }Expand description
Takes two values and returns the first.
λa.λb.aTrait Implementations§
impl Copy for FirstOf
impl Eq for FirstOf
Source§impl Ord for FirstOf
impl Ord for FirstOf
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 FirstOf
impl PartialOrd for FirstOf
impl StructuralPartialEq for FirstOf
Auto Trait Implementations§
impl Freeze for FirstOf
impl RefUnwindSafe for FirstOf
impl Send for FirstOf
impl Sync for FirstOf
impl Unpin for FirstOf
impl UnsafeUnpin for FirstOf
impl UnwindSafe for FirstOf
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