[−][src]Struct pergola::LatticeElt
Write code that uses lattices over this type, and it will delegate
to the functions of the parameter LatticeDef
.
Trait Implementations
impl<'_, D: LatticeDef> Add<&'_ LatticeElt<D>> for LatticeElt<D>
[src]
type Output = LatticeElt<D>
The resulting type after applying the +
operator.
fn add(self, other: &LatticeElt<D>) -> Self
[src]
impl<'lhs, 'rhs, D: LatticeDef> Add<&'rhs LatticeElt<D>> for &'lhs LatticeElt<D>
[src]
type Output = LatticeElt<D>
The resulting type after applying the +
operator.
fn add(self, other: &'rhs LatticeElt<D>) -> LatticeElt<D>
[src]
impl<D: LatticeDef> Add<LatticeElt<D>> for LatticeElt<D>
[src]
type Output = LatticeElt<D>
The resulting type after applying the +
operator.
fn add(self, other: Self) -> Self
[src]
impl<'_, D: LatticeDef> Add<LatticeElt<D>> for &'_ LatticeElt<D>
[src]
type Output = LatticeElt<D>
The resulting type after applying the +
operator.
fn add(self, other: LatticeElt<D>) -> LatticeElt<D>
[src]
impl<D: LatticeDef> Clone for LatticeElt<D> where
D::T: Clone,
[src]
D::T: Clone,
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<D: LatticeDef> Copy for LatticeElt<D> where
D::T: Copy,
[src]
D::T: Copy,
impl<D: Debug + LatticeDef> Debug for LatticeElt<D> where
D::T: Debug,
[src]
D::T: Debug,
impl<D: LatticeDef> Default for LatticeElt<D>
[src]
impl<D: LatticeDef> Eq for LatticeElt<D> where
D::T: Eq,
[src]
D::T: Eq,
impl<A: LatticeDef, B: LatticeDef, C: LatticeDef, D: LatticeDef, E: LatticeDef> From<(<A as LatticeDef>::T, <B as LatticeDef>::T, <C as LatticeDef>::T, <D as LatticeDef>::T, <E as LatticeDef>::T)> for LatticeElt<Tuple5<A, B, C, D, E>>
[src]
impl<A: LatticeDef, B: LatticeDef, C: LatticeDef, D: LatticeDef> From<(<A as LatticeDef>::T, <B as LatticeDef>::T, <C as LatticeDef>::T, <D as LatticeDef>::T)> for LatticeElt<Tuple4<A, B, C, D>>
[src]
impl<A: LatticeDef, B: LatticeDef, C: LatticeDef> From<(<A as LatticeDef>::T, <B as LatticeDef>::T, <C as LatticeDef>::T)> for LatticeElt<Tuple3<A, B, C>>
[src]
impl<A: LatticeDef, B: LatticeDef> From<(<A as LatticeDef>::T, <B as LatticeDef>::T)> for LatticeElt<Tuple2<A, B>>
[src]
impl<K: Ord + Clone, VD: LatticeDef> From<BTreeMap<K, LatticeElt<VD>>> for LatticeElt<BTreeMapWithUnion<K, VD>> where
VD::T: Clone,
[src]
VD::T: Clone,
fn from(t: BTreeMap<K, LatticeElt<VD>>) -> Self
[src]
impl<K: Ord + Clone, VD: LatticeDef> From<BTreeMap<K, LatticeElt<VD>>> for LatticeElt<BTreeMapWithIntersection<K, VD>> where
VD::T: Clone,
[src]
VD::T: Clone,
fn from(t: BTreeMap<K, LatticeElt<VD>>) -> Self
[src]
impl<U: Ord + Clone> From<BTreeSet<U>> for LatticeElt<BTreeSetWithUnion<U>>
[src]
impl<U: Ord + Clone> From<BTreeSet<U>> for LatticeElt<BTreeSetWithIntersection<U>>
[src]
impl From<BitSet<u32>> for LatticeElt<BitSetWithUnion>
[src]
impl From<BitSet<u32>> for LatticeElt<BitSetWithIntersection>
[src]
impl<M: Ord + Clone + MaxUnitDefault> From<M> for LatticeElt<MaxDef<M>>
[src]
impl<M: Ord + Clone + MaxUnitMinValue> From<M> for LatticeElt<MaxNum<M>>
[src]
impl<M: Ord + Clone> From<M> for LatticeElt<MinOpt<M>>
[src]
impl<M: Ord + Clone + Bounded> From<M> for LatticeElt<MinNum<M>>
[src]
impl<D: LatticeDef> Hash for LatticeElt<D> where
D::T: Hash,
[src]
D::T: Hash,
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<D: LatticeDef> Ord for LatticeElt<D> where
D::T: Ord,
[src]
D::T: Ord,
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<D: LatticeDef> PartialEq<LatticeElt<D>> for LatticeElt<D>
[src]
impl<D: LatticeDef> PartialOrd<LatticeElt<D>> for LatticeElt<D>
[src]
Auto Trait Implementations
impl<D> RefUnwindSafe for LatticeElt<D> where
<D as LatticeDef>::T: RefUnwindSafe,
<D as LatticeDef>::T: RefUnwindSafe,
impl<D> Send for LatticeElt<D> where
<D as LatticeDef>::T: Send,
<D as LatticeDef>::T: Send,
impl<D> Sync for LatticeElt<D> where
<D as LatticeDef>::T: Sync,
<D as LatticeDef>::T: Sync,
impl<D> Unpin for LatticeElt<D> where
<D as LatticeDef>::T: Unpin,
<D as LatticeDef>::T: Unpin,
impl<D> UnwindSafe for LatticeElt<D> where
<D as LatticeDef>::T: UnwindSafe,
<D as LatticeDef>::T: 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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<!> for T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
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.
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>,