pub enum Val {
Int(i128),
Real(f64),
Str(String),
List(Vec<Val>),
Unknown,
Pat {
bits: u128,
care: u128,
},
}Expand description
A value crossing the model/design boundary.
Variants§
Int(i128)
A two-state integral value (sign-extended to i128).
Real(f64)
Str(String)
List(Vec<Val>)
An array-valued expression (a set_covergroup_expression).
Unknown
An integral value with an x or z bit. Never matches a non-wildcard bin.
Pat
A wildcard bin value: care has a 1 in every bit position that is a
known 0/1 in bits; the other positions were x, z or ?.
Trait Implementations§
impl StructuralPartialEq for Val
Auto Trait Implementations§
impl Freeze for Val
impl RefUnwindSafe for Val
impl Send for Val
impl Sync for Val
impl Unpin for Val
impl UnsafeUnpin for Val
impl UnwindSafe for Val
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