Trait rug::ops::NotAssign
[−]
[src]
pub trait NotAssign { fn not_assign(&mut self); }
Compound bitwise complement and assignement.
Required Methods
fn not_assign(&mut self)
Peforms the complement.
Examples
use rug::Integer; use rug::ops::NotAssign; let mut i = Integer::from(-42); i.not_assign(); assert_eq!(i, !-42);
Implementors
impl NotAssign for Integer