pub struct Expr { /* private fields */ }Implementations§
Source§impl Expr
impl Expr
pub fn constant(value: bool) -> Self
pub fn random(source: usize) -> Self
pub fn terms(&self) -> &[usize]
pub fn constant_value(&self) -> bool
pub fn xor_assign(&mut self, other: &Expr)
pub fn toggle_constant(&mut self)
pub fn eval(&self, random_masks: &[Mask], words: usize, all_mask: &Mask) -> Mask
Trait Implementations§
impl Eq for Expr
impl StructuralPartialEq for Expr
Auto Trait Implementations§
impl Freeze for Expr
impl RefUnwindSafe for Expr
impl Send for Expr
impl Sync for Expr
impl Unpin for Expr
impl UnsafeUnpin for Expr
impl UnwindSafe for Expr
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