pub enum Value {
Unit,
Int(i64),
Bool(bool),
Slice(Vec<Value>),
}Expand description
Runtime value used by tests and host-side helpers.
Variants§
Unit
Unit value.
Int(i64)
Integer value.
Bool(bool)
Boolean value.
Slice(Vec<Value>)
Slice value represented as runtime elements.
Trait Implementations§
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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