pub type VanillaInt<T> = ReducedInt<T, Vanilla<T>>;
Expand description
An integer in modulo ring based on conventional Rem operations
Aliased Type§
struct VanillaInt<T> { /* private fields */ }
Implementations
Trait Implementations
Source§impl<T: PartialEq + Clone, R: Reducer<T>> Add<&ReducedInt<T, R>> for ReducedInt<T, R>
impl<T: PartialEq + Clone, R: Reducer<T>> Add<&ReducedInt<T, R>> for ReducedInt<T, R>
Source§impl<T: Clone, R: Clone + Reducer<T>> Clone for ReducedInt<T, R>
impl<T: Clone, R: Clone + Reducer<T>> Clone for ReducedInt<T, R>
Source§fn clone(&self) -> ReducedInt<T, R>
fn clone(&self) -> ReducedInt<T, R>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more