#[repr(transparent)]pub struct Bottom<Inner>(pub Option<Inner>);Expand description
Tuple Fields§
§0: Option<Inner>Implementations§
Trait Implementations§
source§impl<Inner> ConvertFrom<Bottom<Inner>> for Bottom<Inner>
impl<Inner> ConvertFrom<Bottom<Inner>> for Bottom<Inner>
source§impl<Inner, Other> Merge<Bottom<Other>> for Bottom<Inner>where
Inner: Merge<Other> + ConvertFrom<Other>,
impl<Inner, Other> Merge<Bottom<Other>> for Bottom<Inner>where Inner: Merge<Other> + ConvertFrom<Other>,
source§impl<Inner, Other> PartialEq<Bottom<Other>> for Bottom<Inner>where
Inner: PartialEq<Other>,
impl<Inner, Other> PartialEq<Bottom<Other>> for Bottom<Inner>where Inner: PartialEq<Other>,
source§impl<Inner, Other> PartialOrd<Bottom<Other>> for Bottom<Inner>where
Inner: PartialOrd<Other>,
impl<Inner, Other> PartialOrd<Bottom<Other>> for Bottom<Inner>where Inner: PartialOrd<Other>,
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl<Inner: Copy> Copy for Bottom<Inner>
impl<Inner: Eq> Eq for Bottom<Inner>
impl<Inner, Other> LatticeOrd<Bottom<Other>> for Bottom<Inner>where Self: PartialOrd<Bottom<Other>>,
impl<Inner> StructuralEq for Bottom<Inner>
Auto Trait Implementations§
impl<Inner> RefUnwindSafe for Bottom<Inner>where Inner: RefUnwindSafe,
impl<Inner> Send for Bottom<Inner>where Inner: Send,
impl<Inner> Sync for Bottom<Inner>where Inner: Sync,
impl<Inner> Unpin for Bottom<Inner>where Inner: Unpin,
impl<Inner> UnwindSafe for Bottom<Inner>where Inner: 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
source§impl<This, Other> NaiveLatticeOrd<Other> for Thiswhere
This: Clone + Merge<Other>,
Other: Clone + Merge<This>,
impl<This, Other> NaiveLatticeOrd<Other> for Thiswhere This: Clone + Merge<Other>, Other: Clone + Merge<This>,
source§fn naive_cmp(&self, other: &Rhs) -> Option<Ordering>
fn naive_cmp(&self, other: &Rhs) -> Option<Ordering>
Naive compare based on the
Merge::merge method. This method can be very inefficient;
use PartialOrd::partial_cmp instead. Read more