pub struct AddIndicatorDivisorI64 {
divisor: i64,
multiplier: i64,
shift: u32,
}Expand description
A i64 divisor whose magnitude isn’t a power of two, see DivisorI64
It uses the signed multiplier from figure 5.1 of Granlund and Montgomery, “Division by Invariant Integers using Multiplication” (1994).
Fields§
§divisor: i64§multiplier: i64m' in figure 5.1
shift: u32sh_post in figure 5.1
Implementations§
Trait Implementations§
Source§impl Clone for AddIndicatorDivisorI64
impl Clone for AddIndicatorDivisorI64
impl Copy for AddIndicatorDivisorI64
Auto Trait Implementations§
impl Forget for AddIndicatorDivisorI64
impl Freeze for AddIndicatorDivisorI64
impl Move for AddIndicatorDivisorI64
impl RefUnwindSafe for AddIndicatorDivisorI64
impl Send for AddIndicatorDivisorI64
impl Sync for AddIndicatorDivisorI64
impl Unpin for AddIndicatorDivisorI64
impl UnsafeUnpin for AddIndicatorDivisorI64
impl UnwindSafe for AddIndicatorDivisorI64
Blanket Implementations§
impl<T> Allocation for T
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