Struct interval::interval::Interval

source ·
pub struct Interval<Bound> { /* private fields */ }
Expand description

Closed interval (endpoints included).

Trait Implementations§

source§

impl<'a, 'b, Bound> Add<&'b Bound> for &'a Interval<Bound>
where Bound: Num + Width + Clone,

§

type Output = Interval<Bound>

The resulting type after applying the + operator.
source§

fn add(self, other: &Bound) -> Interval<Bound>

Performs the + operation. Read more
source§

impl<'b, Bound: Num + Width + Clone> Add<&'b Bound> for Interval<Bound>

§

type Output = Interval<Bound>

The resulting type after applying the + operator.
source§

fn add(self, other: &Bound) -> Interval<Bound>

Performs the + operation. Read more
source§

impl<'a, 'b, Bound> Add<&'b Interval<Bound>> for &'a Interval<Bound>
where Bound: Num + Width,

§

type Output = Interval<Bound>

The resulting type after applying the + operator.
source§

fn add(self, other: &Interval<Bound>) -> Interval<Bound>

Performs the + operation. Read more
source§

impl<'b, Bound: Num + Width> Add<&'b Interval<Bound>> for Interval<Bound>

§

type Output = Interval<Bound>

The resulting type after applying the + operator.
source§

fn add(self, other: &Interval<Bound>) -> Interval<Bound>

Performs the + operation. Read more
source§

impl<'a, Bound: Num + Width + Clone> Add<Bound> for &'a Interval<Bound>

§

type Output = Interval<Bound>

The resulting type after applying the + operator.
source§

fn add(self, other: Bound) -> Interval<Bound>

Performs the + operation. Read more
source§

impl<Bound: Num + Width + Clone> Add<Bound> for Interval<Bound>

§

type Output = Interval<Bound>

The resulting type after applying the + operator.
source§

fn add(self, other: Bound) -> Interval<Bound>

Performs the + operation. Read more
source§

impl<'a, Bound: Num + Width> Add<Interval<Bound>> for &'a Interval<Bound>

§

type Output = Interval<Bound>

The resulting type after applying the + operator.
source§

fn add(self, other: Interval<Bound>) -> Interval<Bound>

Performs the + operation. Read more
source§

impl<Bound: Num + Width> Add for Interval<Bound>

§

type Output = Interval<Bound>

The resulting type after applying the + operator.
source§

fn add(self, other: Interval<Bound>) -> Interval<Bound>

Performs the + operation. Read more
source§

impl<Bound> Bot for Interval<Bound>
where Bound: Width + Num,

source§

fn bot() -> Interval<Bound>

source§

impl<Bound> Bounded for Interval<Bound>
where Bound: Num + Width + Clone,

source§

fn lower(&self) -> Bound

source§

fn upper(&self) -> Bound

source§

impl<Bound> Cardinality for Interval<Bound>
where Bound: Width + Num,

IsSingleton and IsEmpty are defined automatically in gcollections.

§

type Size = <Bound as Width>::Output

source§

fn size(&self) -> <Bound as Width>::Output

source§

impl<Bound: Clone> Clone for Interval<Bound>

source§

fn clone(&self) -> Interval<Bound>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Bound> Collection for Interval<Bound>

§

type Item = Bound

source§

impl<Bound> Contains for Interval<Bound>
where Bound: Ord,

source§

fn contains(&self, value: &Bound) -> bool

source§

impl<Bound: Debug> Debug for Interval<Bound>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Bound> Difference<Bound> for Interval<Bound>
where Bound: Num + Clone,

§

type Output = Interval<Bound>

source§

fn difference(&self, value: &Bound) -> Interval<Bound>

source§

impl Difference<Interval<i16>> for Optional<i16>

source§

impl Difference<Interval<i32>> for Optional<i32>

source§

impl Difference<Interval<i64>> for Optional<i64>

source§

impl Difference<Interval<i8>> for Optional<i8>

§

type Output = Optional<i8>

source§

fn difference(&self, other: &Interval<i8>) -> Optional<i8>

source§

impl Difference<Interval<isize>> for Optional<isize>

source§

impl Difference<Interval<u16>> for Optional<u16>

source§

impl Difference<Interval<u32>> for Optional<u32>

source§

impl Difference<Interval<u64>> for Optional<u64>

source§

impl Difference<Interval<u8>> for Optional<u8>

§

type Output = Optional<u8>

source§

fn difference(&self, other: &Interval<u8>) -> Optional<u8>

source§

impl Difference<Interval<usize>> for Optional<usize>

source§

impl<Bound> Difference<Optional<Bound>> for Interval<Bound>
where Bound: Ord + Num + Clone,

§

type Output = Interval<Bound>

source§

fn difference(&self, value: &Optional<Bound>) -> Interval<Bound>

source§

impl<Bound> Difference for Interval<Bound>
where Bound: Width + Num,

§

type Output = Interval<Bound>

source§

fn difference(&self, other: &Interval<Bound>) -> Interval<Bound>

source§

impl<Bound> Disjoint<Bound> for Interval<Bound>
where Bound: Num + Ord,

source§

fn is_disjoint(&self, value: &Bound) -> bool

source§

impl Disjoint<Interval<i16>> for Optional<i16>

source§

fn is_disjoint(&self, value: &Interval<i16>) -> bool

source§

impl Disjoint<Interval<i16>> for i16

source§

fn is_disjoint(&self, value: &Interval<i16>) -> bool

source§

impl Disjoint<Interval<i32>> for Optional<i32>

source§

fn is_disjoint(&self, value: &Interval<i32>) -> bool

source§

impl Disjoint<Interval<i32>> for i32

source§

fn is_disjoint(&self, value: &Interval<i32>) -> bool

source§

impl Disjoint<Interval<i64>> for Optional<i64>

source§

fn is_disjoint(&self, value: &Interval<i64>) -> bool

source§

impl Disjoint<Interval<i64>> for i64

source§

fn is_disjoint(&self, value: &Interval<i64>) -> bool

source§

impl Disjoint<Interval<i8>> for Optional<i8>

source§

fn is_disjoint(&self, value: &Interval<i8>) -> bool

source§

impl Disjoint<Interval<i8>> for i8

source§

fn is_disjoint(&self, value: &Interval<i8>) -> bool

source§

impl Disjoint<Interval<isize>> for Optional<isize>

source§

fn is_disjoint(&self, value: &Interval<isize>) -> bool

source§

impl Disjoint<Interval<isize>> for isize

source§

fn is_disjoint(&self, value: &Interval<isize>) -> bool

source§

impl Disjoint<Interval<u16>> for Optional<u16>

source§

fn is_disjoint(&self, value: &Interval<u16>) -> bool

source§

impl Disjoint<Interval<u16>> for u16

source§

fn is_disjoint(&self, value: &Interval<u16>) -> bool

source§

impl Disjoint<Interval<u32>> for Optional<u32>

source§

fn is_disjoint(&self, value: &Interval<u32>) -> bool

source§

impl Disjoint<Interval<u32>> for u32

source§

fn is_disjoint(&self, value: &Interval<u32>) -> bool

source§

impl Disjoint<Interval<u64>> for Optional<u64>

source§

fn is_disjoint(&self, value: &Interval<u64>) -> bool

source§

impl Disjoint<Interval<u64>> for u64

source§

fn is_disjoint(&self, value: &Interval<u64>) -> bool

source§

impl Disjoint<Interval<u8>> for Optional<u8>

source§

fn is_disjoint(&self, value: &Interval<u8>) -> bool

source§

impl Disjoint<Interval<u8>> for u8

source§

fn is_disjoint(&self, value: &Interval<u8>) -> bool

source§

impl Disjoint<Interval<usize>> for Optional<usize>

source§

fn is_disjoint(&self, value: &Interval<usize>) -> bool

source§

impl Disjoint<Interval<usize>> for usize

source§

fn is_disjoint(&self, value: &Interval<usize>) -> bool

source§

impl<Bound> Disjoint<Optional<Bound>> for Interval<Bound>
where Bound: Num + Ord,

source§

fn is_disjoint(&self, value: &Optional<Bound>) -> bool

source§

impl<Bound> Disjoint for Interval<Bound>
where Bound: Width + Num,

source§

fn is_disjoint(&self, other: &Interval<Bound>) -> bool

source§

impl<Bound> Display for Interval<Bound>
where Bound: Display + Width + Num,

source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<Bound> Empty for Interval<Bound>
where Bound: Width + Num,

source§

fn empty() -> Interval<Bound>

source§

impl<Bound> Entailment for Interval<Bound>
where Bound: Width + Num,

source§

fn entail(&self, other: &Interval<Bound>) -> SKleene

source§

impl<Bound> Extend<Interval<Bound>> for IntervalSet<Bound>
where Bound: Width + Num,

source§

fn extend<I>(&mut self, iterable: I)
where I: IntoIterator<Item = Interval<Bound>>,

Extends a collection with the contents of an iterator. Read more
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl<Bound> Hull<Bound> for Interval<Bound>
where Bound: Width + Num,

§

type Output = Interval<Bound>

source§

fn hull(&self, other: &Bound) -> Interval<Bound>

source§

impl Hull<Interval<i16>> for i16

§

type Output = Interval<i16>

source§

fn hull(&self, other: &Interval<i16>) -> Interval<i16>

source§

impl Hull<Interval<i32>> for i32

§

type Output = Interval<i32>

source§

fn hull(&self, other: &Interval<i32>) -> Interval<i32>

source§

impl Hull<Interval<i64>> for i64

§

type Output = Interval<i64>

source§

fn hull(&self, other: &Interval<i64>) -> Interval<i64>

source§

impl Hull<Interval<i8>> for i8

§

type Output = Interval<i8>

source§

fn hull(&self, other: &Interval<i8>) -> Interval<i8>

source§

impl Hull<Interval<isize>> for isize

source§

impl Hull<Interval<u16>> for u16

§

type Output = Interval<u16>

source§

fn hull(&self, other: &Interval<u16>) -> Interval<u16>

source§

impl Hull<Interval<u32>> for u32

§

type Output = Interval<u32>

source§

fn hull(&self, other: &Interval<u32>) -> Interval<u32>

source§

impl Hull<Interval<u64>> for u64

§

type Output = Interval<u64>

source§

fn hull(&self, other: &Interval<u64>) -> Interval<u64>

source§

impl Hull<Interval<u8>> for u8

§

type Output = Interval<u8>

source§

fn hull(&self, other: &Interval<u8>) -> Interval<u8>

source§

impl Hull<Interval<usize>> for usize

source§

impl<Bound> Hull for Interval<Bound>
where Bound: Width + Num,

§

type Output = Interval<Bound>

source§

fn hull(&self, other: &Interval<Bound>) -> Interval<Bound>

source§

impl<Bound> Intersection<Bound> for Interval<Bound>
where Bound: Width + Num,

§

type Output = Interval<Bound>

source§

fn intersection(&self, value: &Bound) -> Interval<Bound>

source§

impl Intersection<Interval<i16>> for Optional<i16>

source§

impl Intersection<Interval<i32>> for Optional<i32>

source§

impl Intersection<Interval<i64>> for Optional<i64>

source§

impl Intersection<Interval<i8>> for Optional<i8>

source§

impl Intersection<Interval<isize>> for Optional<isize>

source§

impl Intersection<Interval<u16>> for Optional<u16>

source§

impl Intersection<Interval<u32>> for Optional<u32>

source§

impl Intersection<Interval<u64>> for Optional<u64>

source§

impl Intersection<Interval<u8>> for Optional<u8>

source§

impl Intersection<Interval<usize>> for Optional<usize>

source§

impl<Bound> Intersection<Optional<Bound>> for Interval<Bound>
where Bound: Width + Num,

§

type Output = Interval<Bound>

source§

fn intersection(&self, value: &Optional<Bound>) -> Interval<Bound>

source§

impl<Bound> Intersection for Interval<Bound>
where Bound: Width + Num,

§

type Output = Interval<Bound>

source§

fn intersection(&self, other: &Interval<Bound>) -> Interval<Bound>

source§

impl<Bound> Join for Interval<Bound>
where Bound: Width + Num,

source§

fn join(self, other: Interval<Bound>) -> Interval<Bound>

source§

impl<Bound> Meet for Interval<Bound>
where Bound: Width + Num,

source§

fn meet(self, other: Interval<Bound>) -> Interval<Bound>

source§

impl<'a, 'b, Bound> Mul<&'b Bound> for &'a Interval<Bound>
where Bound: Num + Width + Clone,

§

type Output = Interval<Bound>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Bound) -> Interval<Bound>

Performs the * operation. Read more
source§

impl<'b, Bound: Num + Width + Clone> Mul<&'b Bound> for Interval<Bound>

§

type Output = Interval<Bound>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Bound) -> Interval<Bound>

Performs the * operation. Read more
source§

impl<'a, 'b, Bound> Mul<&'b Interval<Bound>> for &'a Interval<Bound>
where Bound: Num + Width,

§

type Output = Interval<Bound>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Interval<Bound>) -> Interval<Bound>

Performs the * operation. Read more
source§

impl<'b, Bound: Num + Width> Mul<&'b Interval<Bound>> for Interval<Bound>

§

type Output = Interval<Bound>

The resulting type after applying the * operator.
source§

fn mul(self, other: &Interval<Bound>) -> Interval<Bound>

Performs the * operation. Read more
source§

impl<'a, Bound: Num + Width + Clone> Mul<Bound> for &'a Interval<Bound>

§

type Output = Interval<Bound>

The resulting type after applying the * operator.
source§

fn mul(self, other: Bound) -> Interval<Bound>

Performs the * operation. Read more
source§

impl<Bound: Num + Width + Clone> Mul<Bound> for Interval<Bound>

§

type Output = Interval<Bound>

The resulting type after applying the * operator.
source§

fn mul(self, other: Bound) -> Interval<Bound>

Performs the * operation. Read more
source§

impl<'a, Bound: Num + Width> Mul<Interval<Bound>> for &'a Interval<Bound>

§

type Output = Interval<Bound>

The resulting type after applying the * operator.
source§

fn mul(self, other: Interval<Bound>) -> Interval<Bound>

Performs the * operation. Read more
source§

impl<Bound: Num + Width> Mul for Interval<Bound>

§

type Output = Interval<Bound>

The resulting type after applying the * operator.
source§

fn mul(self, other: Interval<Bound>) -> Interval<Bound>

Performs the * operation. Read more
source§

impl<Bound> Overlap<Bound> for Interval<Bound>
where Bound: Width + Num,

source§

fn overlap(&self, other: &Bound) -> bool

source§

impl Overlap<Interval<i16>> for Optional<i16>

source§

fn overlap(&self, other: &Interval<i16>) -> bool

source§

impl Overlap<Interval<i16>> for i16

source§

fn overlap(&self, other: &Interval<i16>) -> bool

source§

impl Overlap<Interval<i32>> for Optional<i32>

source§

fn overlap(&self, other: &Interval<i32>) -> bool

source§

impl Overlap<Interval<i32>> for i32

source§

fn overlap(&self, other: &Interval<i32>) -> bool

source§

impl Overlap<Interval<i64>> for Optional<i64>

source§

fn overlap(&self, other: &Interval<i64>) -> bool

source§

impl Overlap<Interval<i64>> for i64

source§

fn overlap(&self, other: &Interval<i64>) -> bool

source§

impl Overlap<Interval<i8>> for Optional<i8>

source§

fn overlap(&self, other: &Interval<i8>) -> bool

source§

impl Overlap<Interval<i8>> for i8

source§

fn overlap(&self, other: &Interval<i8>) -> bool

source§

impl Overlap<Interval<isize>> for Optional<isize>

source§

fn overlap(&self, other: &Interval<isize>) -> bool

source§

impl Overlap<Interval<isize>> for isize

source§

fn overlap(&self, other: &Interval<isize>) -> bool

source§

impl Overlap<Interval<u16>> for Optional<u16>

source§

fn overlap(&self, other: &Interval<u16>) -> bool

source§

impl Overlap<Interval<u16>> for u16

source§

fn overlap(&self, other: &Interval<u16>) -> bool

source§

impl Overlap<Interval<u32>> for Optional<u32>

source§

fn overlap(&self, other: &Interval<u32>) -> bool

source§

impl Overlap<Interval<u32>> for u32

source§

fn overlap(&self, other: &Interval<u32>) -> bool

source§

impl Overlap<Interval<u64>> for Optional<u64>

source§

fn overlap(&self, other: &Interval<u64>) -> bool

source§

impl Overlap<Interval<u64>> for u64

source§

fn overlap(&self, other: &Interval<u64>) -> bool

source§

impl Overlap<Interval<u8>> for Optional<u8>

source§

fn overlap(&self, other: &Interval<u8>) -> bool

source§

impl Overlap<Interval<u8>> for u8

source§

fn overlap(&self, other: &Interval<u8>) -> bool

source§

impl Overlap<Interval<usize>> for Optional<usize>

source§

fn overlap(&self, other: &Interval<usize>) -> bool

source§

impl Overlap<Interval<usize>> for usize

source§

fn overlap(&self, other: &Interval<usize>) -> bool

source§

impl<Bound> Overlap<Optional<Bound>> for Interval<Bound>
where Bound: Width + Num,

source§

fn overlap(&self, other: &Optional<Bound>) -> bool

source§

impl<Bound> Overlap for Interval<Bound>
where Bound: Width + Num,

source§

fn overlap(&self, other: &Interval<Bound>) -> bool

source§

impl<Bound> PartialEq for Interval<Bound>
where Bound: Width + Num,

source§

fn eq(&self, other: &Interval<Bound>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<Bound> ProperSubset for Interval<Bound>
where Bound: Width + Num,

source§

fn is_proper_subset(&self, other: &Interval<Bound>) -> bool

source§

impl<Bound> Range for Interval<Bound>
where Bound: Width,

source§

fn new(lb: Bound, ub: Bound) -> Interval<Bound>

source§

impl<Bound> ShrinkLeft for Interval<Bound>
where Bound: Num + Width,

source§

fn shrink_left(&self, lb: Bound) -> Interval<Bound>

source§

impl<Bound> ShrinkRight for Interval<Bound>
where Bound: Num + Width,

source§

fn shrink_right(&self, ub: Bound) -> Interval<Bound>

source§

impl<Bound> Singleton for Interval<Bound>
where Bound: Width + Clone,

source§

fn singleton(x: Bound) -> Interval<Bound>

source§

impl<'a, 'b, Bound> Sub<&'b Bound> for &'a Interval<Bound>
where Bound: Num + Width + Clone,

§

type Output = Interval<Bound>

The resulting type after applying the - operator.
source§

fn sub(self, other: &Bound) -> Interval<Bound>

Performs the - operation. Read more
source§

impl<'b, Bound: Num + Width + Clone> Sub<&'b Bound> for Interval<Bound>

§

type Output = Interval<Bound>

The resulting type after applying the - operator.
source§

fn sub(self, other: &Bound) -> Interval<Bound>

Performs the - operation. Read more
source§

impl<'a, 'b, Bound> Sub<&'b Interval<Bound>> for &'a Interval<Bound>
where Bound: Num + Width,

§

type Output = Interval<Bound>

The resulting type after applying the - operator.
source§

fn sub(self, other: &Interval<Bound>) -> Interval<Bound>

Performs the - operation. Read more
source§

impl<'b, Bound: Num + Width> Sub<&'b Interval<Bound>> for Interval<Bound>

§

type Output = Interval<Bound>

The resulting type after applying the - operator.
source§

fn sub(self, other: &Interval<Bound>) -> Interval<Bound>

Performs the - operation. Read more
source§

impl<'a, Bound: Num + Width + Clone> Sub<Bound> for &'a Interval<Bound>

§

type Output = Interval<Bound>

The resulting type after applying the - operator.
source§

fn sub(self, other: Bound) -> Interval<Bound>

Performs the - operation. Read more
source§

impl<Bound: Num + Width + Clone> Sub<Bound> for Interval<Bound>

§

type Output = Interval<Bound>

The resulting type after applying the - operator.
source§

fn sub(self, other: Bound) -> Interval<Bound>

Performs the - operation. Read more
source§

impl<'a, Bound: Num + Width> Sub<Interval<Bound>> for &'a Interval<Bound>

§

type Output = Interval<Bound>

The resulting type after applying the - operator.
source§

fn sub(self, other: Interval<Bound>) -> Interval<Bound>

Performs the - operation. Read more
source§

impl<Bound: Num + Width> Sub for Interval<Bound>

§

type Output = Interval<Bound>

The resulting type after applying the - operator.
source§

fn sub(self, other: Interval<Bound>) -> Interval<Bound>

Performs the - operation. Read more
source§

impl<Bound> Subset for Interval<Bound>
where Bound: Width + Num,

source§

fn is_subset(&self, other: &Interval<Bound>) -> bool

source§

impl<Bound> ToInterval<Bound> for Interval<Bound>

source§

fn to_interval(self) -> Interval<Bound>

source§

impl<Bound> Top for Interval<Bound>
where Bound: Width + Num,

source§

fn top() -> Interval<Bound>

source§

impl<Bound> Whole for Interval<Bound>
where Bound: Width + Num,

source§

fn whole() -> Interval<Bound>

source§

impl<Bound: Copy> Copy for Interval<Bound>

source§

impl<Bound: Width + Num> Eq for Interval<Bound>

source§

impl<Bound> IntervalKind for Interval<Bound>

Auto Trait Implementations§

§

impl<Bound> RefUnwindSafe for Interval<Bound>
where Bound: RefUnwindSafe,

§

impl<Bound> Send for Interval<Bound>
where Bound: Send,

§

impl<Bound> Sync for Interval<Bound>
where Bound: Sync,

§

impl<Bound> Unpin for Interval<Bound>
where Bound: Unpin,

§

impl<Bound> UnwindSafe for Interval<Bound>
where Bound: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<R> IsEmpty for R
where R: Cardinality,

source§

fn is_empty(&self) -> bool

source§

impl<R> IsSingleton for R
where R: Cardinality,

source§

impl<R> StrictEntailment for R
where R: Entailment + Eq,

source§

fn strict_entail(&self, other: &R) -> SKleene

Must be similar to a.entail(&b) && a != b.
source§

impl<B, R> StrictShrinkLeft for R
where R: ShrinkLeft<Item = B> + Empty + IntervalKind + Bounded, B: Integer + Bounded,

source§

fn strict_shrink_left(&self, lb: B) -> R

source§

impl<B, R> StrictShrinkRight for R
where R: ShrinkRight<Item = B> + Empty + IntervalKind + Bounded, B: Integer + Bounded,

source§

fn strict_shrink_right(&self, ub: B) -> R

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<R> BoundedLattice for R
where R: Lattice + Top + Bot,

source§

impl<R> Lattice for R
where R: Join + Meet + Entailment,