pub struct ArrayInfo {
pub symbol: SymbolId,
pub name: String,
pub elem_ty: Ty,
pub rand: bool,
pub elem_domain: Option<Vec<BigUint>>,
pub assoc: bool,
}Expand description
A dynamic array or queue the constraints reach.
Fields§
§symbol: SymbolIdThe property’s key.
name: StringIts declared name.
elem_ty: TyThe element type (a 4-state element is solved as 2-state).
rand: boolWhether the property is rand: its size and elements are then random
variables of the program (an inactive rand_mode is decided at run
time). A non-rand array a constraint reads is state.
elem_domain: Option<Vec<BigUint>>For an array of an enum type, the named constants every element takes (LRM 6.19.3, 18.3).
assoc: boolAn associative array (only ever rand, and only its existing values
are drawn: no constraint can name it, 18.4).
Trait Implementations§
impl Eq for ArrayInfo
impl StructuralPartialEq for ArrayInfo
Auto Trait Implementations§
impl Freeze for ArrayInfo
impl RefUnwindSafe for ArrayInfo
impl Send for ArrayInfo
impl Sync for ArrayInfo
impl Unpin for ArrayInfo
impl UnsafeUnpin for ArrayInfo
impl UnwindSafe for ArrayInfo
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.