[−][src]Struct pergola::Tuple2
Cartesian product lattice for 2 inner lattices, joining elements pairwise
and with the product partial order (not lexicographical order) where (a, b) <= (c, d)
iff a <= c
and b <= d
.
Trait Implementations
impl<A: Clone + LatticeDef, B: Clone + LatticeDef> Clone for Tuple2<A, B>
[src]
impl<A: Debug + LatticeDef, B: Debug + LatticeDef> Debug for Tuple2<A, B>
[src]
impl<A: Default + LatticeDef, B: Default + LatticeDef> Default for Tuple2<A, B>
[src]
impl<'de, A: LatticeDef, B: LatticeDef> Deserialize<'de> for Tuple2<A, B>
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<A: Eq + LatticeDef, B: Eq + LatticeDef> Eq for Tuple2<A, B>
[src]
impl<A: Hash + LatticeDef, B: Hash + LatticeDef> Hash for Tuple2<A, B>
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<A: LatticeDef, B: LatticeDef> LatticeDef for Tuple2<A, B>
[src]
type T = (LatticeElt<A>, LatticeElt<B>)
pub fn unit() -> Self::T
[src]
pub fn join(lhs: &Self::T, rhs: &Self::T) -> Self::T
[src]
pub fn partial_order(lhs: &Self::T, rhs: &Self::T) -> Option<Ordering>
[src]
impl<A: Ord + LatticeDef, B: Ord + LatticeDef> Ord for Tuple2<A, B>
[src]
pub fn cmp(&self, other: &Tuple2<A, B>) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<A: PartialEq + LatticeDef, B: PartialEq + LatticeDef> PartialEq<Tuple2<A, B>> for Tuple2<A, B>
[src]
pub fn eq(&self, other: &Tuple2<A, B>) -> bool
[src]
pub fn ne(&self, other: &Tuple2<A, B>) -> bool
[src]
impl<A: PartialOrd + LatticeDef, B: PartialOrd + LatticeDef> PartialOrd<Tuple2<A, B>> for Tuple2<A, B>
[src]
pub fn partial_cmp(&self, other: &Tuple2<A, B>) -> Option<Ordering>
[src]
pub fn lt(&self, other: &Tuple2<A, B>) -> bool
[src]
pub fn le(&self, other: &Tuple2<A, B>) -> bool
[src]
pub fn gt(&self, other: &Tuple2<A, B>) -> bool
[src]
pub fn ge(&self, other: &Tuple2<A, B>) -> bool
[src]
impl<A: LatticeDef, B: LatticeDef> Serialize for Tuple2<A, B>
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<A: LatticeDef, B: LatticeDef> StructuralEq for Tuple2<A, B>
[src]
impl<A: LatticeDef, B: LatticeDef> StructuralPartialEq for Tuple2<A, B>
[src]
Auto Trait Implementations
impl<A, B> RefUnwindSafe for Tuple2<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
[src]
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Tuple2<A, B> where
A: Send,
B: Send,
[src]
A: Send,
B: Send,
impl<A, B> Sync for Tuple2<A, B> where
A: Sync,
B: Sync,
[src]
A: Sync,
B: Sync,
impl<A, B> Unpin for Tuple2<A, B> where
A: Unpin,
B: Unpin,
[src]
A: Unpin,
B: Unpin,
impl<A, B> UnwindSafe for Tuple2<A, B> where
A: UnwindSafe,
B: UnwindSafe,
[src]
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,