[][src]Struct abstalg::CheckedInts

pub struct CheckedInts<E> where
    E: PrimInt + Signed + Debug + From<i8>, 
{ /* fields omitted */ }

The set of integers whose elements are stored in a primitive signed integer type. This structure is functionally equivalent to the set of all integers, but some operations are going to panic if the mathematical result cannot be represented in the primitive type. The lattice order is the normal total order, which is not bounded.

Trait Implementations

impl<E: Default> Default for CheckedInts<E> where
    E: PrimInt + Signed + Debug + From<i8>, 
[src]

impl<E> DistributiveLattice for CheckedInts<E> where
    E: PrimInt + Signed + Debug + From<i8>, 
[src]

impl<E> Domain for CheckedInts<E> where
    E: PrimInt + Signed + Debug + From<i8>, 
[src]

type Elem = E

The type of the elements of this domain.

impl<E> EuclideanDomain for CheckedInts<E> where
    E: PrimInt + Signed + Debug + From<i8>, 
[src]

impl<E> IntegralDomain for CheckedInts<E> where
    E: PrimInt + Signed + Debug + From<i8>, 
[src]

impl<E> Lattice for CheckedInts<E> where
    E: PrimInt + Signed + Debug + From<i8>, 
[src]

impl<E> UnitaryRing for CheckedInts<E> where
    E: PrimInt + Signed + Debug + From<i8>, 
[src]

Auto Trait Implementations

impl<E> RefUnwindSafe for CheckedInts<E> where
    E: RefUnwindSafe

impl<E> Send for CheckedInts<E> where
    E: Send

impl<E> Sync for CheckedInts<E> where
    E: Sync

impl<E> Unpin for CheckedInts<E> where
    E: Unpin

impl<E> UnwindSafe for CheckedInts<E> where
    E: UnwindSafe

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> From<T> for T[src]

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

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.