Struct num_modular::PreMulInv3by2
source · pub struct PreMulInv3by2<T, D> { /* private fields */ }
Expand description
A wrapper of Normalized3by2Divisor that can be used as a Reducer
Implementations§
source§impl PreMulInv3by2<u8, u16>
impl PreMulInv3by2<u8, u16>
source§impl PreMulInv3by2<u16, u32>
impl PreMulInv3by2<u16, u32>
source§impl PreMulInv3by2<u32, u64>
impl PreMulInv3by2<u32, u64>
source§impl PreMulInv3by2<u64, u128>
impl PreMulInv3by2<u64, u128>
source§impl PreMulInv3by2<usize, u64>
impl PreMulInv3by2<usize, u64>
source§impl<T, D> PreMulInv3by2<T, D>
impl<T, D> PreMulInv3by2<T, D>
Trait Implementations§
source§impl<T: Clone, D: Clone> Clone for PreMulInv3by2<T, D>
impl<T: Clone, D: Clone> Clone for PreMulInv3by2<T, D>
source§fn clone(&self) -> PreMulInv3by2<T, D>
fn clone(&self) -> PreMulInv3by2<T, D>
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 moresource§impl<T: PartialEq, D: PartialEq> PartialEq<PreMulInv3by2<T, D>> for PreMulInv3by2<T, D>
impl<T: PartialEq, D: PartialEq> PartialEq<PreMulInv3by2<T, D>> for PreMulInv3by2<T, D>
source§fn eq(&self, other: &PreMulInv3by2<T, D>) -> bool
fn eq(&self, other: &PreMulInv3by2<T, D>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Reducer<u128> for PreMulInv3by2<u64, u128>
impl Reducer<u128> for PreMulInv3by2<u64, u128>
source§impl Reducer<u16> for PreMulInv3by2<u8, u16>
impl Reducer<u16> for PreMulInv3by2<u8, u16>
source§impl Reducer<u32> for PreMulInv3by2<u16, u32>
impl Reducer<u32> for PreMulInv3by2<u16, u32>
source§impl Reducer<u64> for PreMulInv3by2<u32, u64>
impl Reducer<u64> for PreMulInv3by2<u32, u64>
source§impl Reducer<u64> for PreMulInv3by2<usize, u64>
impl Reducer<u64> for PreMulInv3by2<usize, u64>
impl<T: Copy, D: Copy> Copy for PreMulInv3by2<T, D>
impl<T: Eq, D: Eq> Eq for PreMulInv3by2<T, D>
impl<T, D> StructuralEq for PreMulInv3by2<T, D>
impl<T, D> StructuralPartialEq for PreMulInv3by2<T, D>
Auto Trait Implementations§
impl<T, D> RefUnwindSafe for PreMulInv3by2<T, D>where D: RefUnwindSafe, T: RefUnwindSafe,
impl<T, D> Send for PreMulInv3by2<T, D>where D: Send, T: Send,
impl<T, D> Sync for PreMulInv3by2<T, D>where D: Sync, T: Sync,
impl<T, D> Unpin for PreMulInv3by2<T, D>where D: Unpin, T: Unpin,
impl<T, D> UnwindSafe for PreMulInv3by2<T, D>where D: UnwindSafe, T: UnwindSafe,
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