[−][src]Struct pergola::Tuple4
Cartesian product lattice for 4 inner lattices, joining elements pairwise
and with the product partial order (not lexicographical order) where
(a, b, c, d) <= (e, f, g, h)
iff a <= e
and b <= f
and c <= g
and d <= h
.
Trait Implementations
impl<A: Clone + LatticeDef, B: Clone + LatticeDef, C: Clone + LatticeDef, D: Clone + LatticeDef> Clone for Tuple4<A, B, C, D>
[src]
impl<A: Debug + LatticeDef, B: Debug + LatticeDef, C: Debug + LatticeDef, D: Debug + LatticeDef> Debug for Tuple4<A, B, C, D>
[src]
impl<A: Default + LatticeDef, B: Default + LatticeDef, C: Default + LatticeDef, D: Default + LatticeDef> Default for Tuple4<A, B, C, D>
[src]
impl<'de, A: LatticeDef, B: LatticeDef, C: LatticeDef, D: LatticeDef> Deserialize<'de> for Tuple4<A, B, C, D>
[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, C: Eq + LatticeDef, D: Eq + LatticeDef> Eq for Tuple4<A, B, C, D>
[src]
impl<A: Hash + LatticeDef, B: Hash + LatticeDef, C: Hash + LatticeDef, D: Hash + LatticeDef> Hash for Tuple4<A, B, C, D>
[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, C: LatticeDef, D: LatticeDef> LatticeDef for Tuple4<A, B, C, D>
[src]
type T = (LatticeElt<A>, LatticeElt<B>, LatticeElt<C>, LatticeElt<D>)
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, C: Ord + LatticeDef, D: Ord + LatticeDef> Ord for Tuple4<A, B, C, D>
[src]
pub fn cmp(&self, other: &Tuple4<A, B, C, D>) -> 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, C: PartialEq + LatticeDef, D: PartialEq + LatticeDef> PartialEq<Tuple4<A, B, C, D>> for Tuple4<A, B, C, D>
[src]
pub fn eq(&self, other: &Tuple4<A, B, C, D>) -> bool
[src]
pub fn ne(&self, other: &Tuple4<A, B, C, D>) -> bool
[src]
impl<A: PartialOrd + LatticeDef, B: PartialOrd + LatticeDef, C: PartialOrd + LatticeDef, D: PartialOrd + LatticeDef> PartialOrd<Tuple4<A, B, C, D>> for Tuple4<A, B, C, D>
[src]
pub fn partial_cmp(&self, other: &Tuple4<A, B, C, D>) -> Option<Ordering>
[src]
pub fn lt(&self, other: &Tuple4<A, B, C, D>) -> bool
[src]
pub fn le(&self, other: &Tuple4<A, B, C, D>) -> bool
[src]
pub fn gt(&self, other: &Tuple4<A, B, C, D>) -> bool
[src]
pub fn ge(&self, other: &Tuple4<A, B, C, D>) -> bool
[src]
impl<A: LatticeDef, B: LatticeDef, C: LatticeDef, D: LatticeDef> Serialize for Tuple4<A, B, C, D>
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<A: LatticeDef, B: LatticeDef, C: LatticeDef, D: LatticeDef> StructuralEq for Tuple4<A, B, C, D>
[src]
impl<A: LatticeDef, B: LatticeDef, C: LatticeDef, D: LatticeDef> StructuralPartialEq for Tuple4<A, B, C, D>
[src]
Auto Trait Implementations
impl<A, B, C, D> RefUnwindSafe for Tuple4<A, B, C, D> where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
[src]
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
impl<A, B, C, D> Send for Tuple4<A, B, C, D> where
A: Send,
B: Send,
C: Send,
D: Send,
[src]
A: Send,
B: Send,
C: Send,
D: Send,
impl<A, B, C, D> Sync for Tuple4<A, B, C, D> where
A: Sync,
B: Sync,
C: Sync,
D: Sync,
[src]
A: Sync,
B: Sync,
C: Sync,
D: Sync,
impl<A, B, C, D> Unpin for Tuple4<A, B, C, D> where
A: Unpin,
B: Unpin,
C: Unpin,
D: Unpin,
[src]
A: Unpin,
B: Unpin,
C: Unpin,
D: Unpin,
impl<A, B, C, D> UnwindSafe for Tuple4<A, B, C, D> where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
[src]
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: 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>,