pub struct ArrayState {
pub elem_ty: Ty,
pub active: bool,
pub cur: Vec<Option<BigUint>>,
pub domain: Option<Vec<BigUint>>,
}Expand description
One array of a program as seen by one randomize() call.
Fields§
§elem_ty: TyElement type (the solver’s 2-state view).
active: boolWhether the array’s elements (and size) are being randomized this call:
a rand property whose rand_mode bit is set.
cur: Vec<Option<BigUint>>The current elements; None is an element with an X/Z bit.
domain: Option<Vec<BigUint>>The enum values an element must be one of (a rand enum array).
Trait Implementations§
Source§impl Clone for ArrayState
impl Clone for ArrayState
Auto Trait Implementations§
impl Freeze for ArrayState
impl RefUnwindSafe for ArrayState
impl Send for ArrayState
impl Sync for ArrayState
impl Unpin for ArrayState
impl UnsafeUnpin for ArrayState
impl UnwindSafe for ArrayState
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