pub enum Mod1000000007 {}
Expand description
Represents $1000000007$.
Trait Implementations§
Source§impl Clone for Mod1000000007
impl Clone for Mod1000000007
Source§fn clone(&self) -> Mod1000000007
fn clone(&self) -> Mod1000000007
Returns a duplicate 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 moreSource§impl Debug for Mod1000000007
impl Debug for Mod1000000007
Source§impl Hash for Mod1000000007
impl Hash for Mod1000000007
Source§impl Modulus for Mod1000000007
impl Modulus for Mod1000000007
const VALUE: u32 = 1_000_000_007u32
const HINT_VALUE_IS_PRIME: bool = true
fn butterfly_cache() -> &'static LocalKey<RefCell<Option<ButterflyCache<Self>>>>
Source§impl Ord for Mod1000000007
impl Ord for Mod1000000007
Source§fn cmp(&self, other: &Mod1000000007) -> Ordering
fn cmp(&self, other: &Mod1000000007) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Mod1000000007
impl PartialEq for Mod1000000007
Source§impl PartialOrd for Mod1000000007
impl PartialOrd for Mod1000000007
impl Copy for Mod1000000007
impl Eq for Mod1000000007
impl StructuralPartialEq for Mod1000000007
Auto Trait Implementations§
impl Freeze for Mod1000000007
impl RefUnwindSafe for Mod1000000007
impl Send for Mod1000000007
impl Sync for Mod1000000007
impl Unpin for Mod1000000007
impl UnwindSafe for Mod1000000007
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more