[][src]Struct pergola::Tuple2

pub struct Tuple2<A: LatticeDef, B: LatticeDef> { /* fields omitted */ }

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]

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]

impl<A: LatticeDef, B: LatticeDef> LatticeDef for Tuple2<A, B>[src]

type T = (LatticeElt<A>, LatticeElt<B>)

impl<A: Ord + LatticeDef, B: Ord + LatticeDef> Ord for Tuple2<A, B>[src]

impl<A: PartialEq + LatticeDef, B: PartialEq + LatticeDef> PartialEq<Tuple2<A, B>> for Tuple2<A, B>[src]

impl<A: PartialOrd + LatticeDef, B: PartialOrd + LatticeDef> PartialOrd<Tuple2<A, B>> for Tuple2<A, B>[src]

impl<A: LatticeDef, B: LatticeDef> Serialize for Tuple2<A, B>[src]

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]

impl<A, B> Send for Tuple2<A, B> where
    A: Send,
    B: Send
[src]

impl<A, B> Sync for Tuple2<A, B> where
    A: Sync,
    B: Sync
[src]

impl<A, B> Unpin for Tuple2<A, B> where
    A: Unpin,
    B: Unpin
[src]

impl<A, B> UnwindSafe for Tuple2<A, B> where
    A: UnwindSafe,
    B: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.