pub struct OrdLattice<T>(pub T);Tuple Fields§
§0: TTrait Implementations§
Source§impl<T: Clone> Clone for OrdLattice<T>
impl<T: Clone> Clone for OrdLattice<T>
Source§fn clone(&self) -> OrdLattice<T>
fn clone(&self) -> OrdLattice<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for OrdLattice<T>
impl<T: Debug> Debug for OrdLattice<T>
Source§impl<T: Hash> Hash for OrdLattice<T>
impl<T: Hash> Hash for OrdLattice<T>
Source§impl<T: Ord> Lattice for OrdLattice<T>
impl<T: Ord> Lattice for OrdLattice<T>
Source§fn meet(self, other: Self) -> Self
fn meet(self, other: Self) -> Self
The greatest lower bound of two elements.
meet(x, y) is the biggest value z
s.t. z <= x and z <= ySource§fn join(self, other: Self) -> Self
fn join(self, other: Self) -> Self
The least upper bound of two elements.
join(x, y) is the smallest value z
s.t. z >= x and z >= y.Source§impl<T: Ord> Ord for OrdLattice<T>
impl<T: Ord> Ord for OrdLattice<T>
Source§fn cmp(&self, other: &OrdLattice<T>) -> Ordering
fn cmp(&self, other: &OrdLattice<T>) -> Ordering
1.21.0 · 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<T: PartialEq> PartialEq for OrdLattice<T>
impl<T: PartialEq> PartialEq for OrdLattice<T>
Source§impl<T: PartialOrd> PartialOrd for OrdLattice<T>
impl<T: PartialOrd> PartialOrd for OrdLattice<T>
impl<T: Copy> Copy for OrdLattice<T>
impl<T: Eq> Eq for OrdLattice<T>
impl<T> StructuralPartialEq for OrdLattice<T>
Auto Trait Implementations§
impl<T> Freeze for OrdLattice<T>where
T: Freeze,
impl<T> RefUnwindSafe for OrdLattice<T>where
T: RefUnwindSafe,
impl<T> Send for OrdLattice<T>where
T: Send,
impl<T> Sync for OrdLattice<T>where
T: Sync,
impl<T> Unpin for OrdLattice<T>where
T: Unpin,
impl<T> UnwindSafe for OrdLattice<T>where
T: 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