[][src]Struct abstalg::ModularInts

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

The ring of signed integers modulo 2^n whose elements are stored in a primitive signed integer type. The ring operations on these sets wrap around. This structure is equivalent to the quotient ring of the set of integers modulo 2^n, but its implementation is more efficient.

Trait Implementations

impl<E> Domain for ModularInts<E> where
    E: PrimInt + Signed + WrappingAdd + WrappingMul + WrappingSub + Debug + From<i8>, 
[src]

type Elem = E

The type of the elements of this domain.

impl<E> UnitaryRing for ModularInts<E> where
    E: PrimInt + Signed + WrappingAdd + WrappingMul + WrappingSub + Debug + From<i8>, 
[src]

Auto Trait Implementations

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

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

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

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

impl<E> UnwindSafe for ModularInts<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.