pub struct MulOp<T> { /* private fields */ }Expand description
Reversible multiplication: state *= factor / state /= factor.
Only valid for non-zero factors. For integer types, uses wrapping arithmetic.
Implementations§
Trait Implementations§
impl<T: Copy> Copy for MulOp<T>
Auto Trait Implementations§
impl<T> Freeze for MulOp<T>where
T: Freeze,
impl<T> RefUnwindSafe for MulOp<T>where
T: RefUnwindSafe,
impl<T> Send for MulOp<T>where
T: Send,
impl<T> Sync for MulOp<T>where
T: Sync,
impl<T> Unpin for MulOp<T>where
T: Unpin,
impl<T> UnsafeUnpin for MulOp<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for MulOp<T>where
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