pub enum OutputValue {
Value(i64),
Z,
X,
}Expand description
Represent a single output value
Variants§
Implementations§
Source§impl OutputValue
impl OutputValue
Sourcepub fn check(&self, other: ExpectedValue) -> bool
pub fn check(&self, other: ExpectedValue) -> bool
Check if the output value matches the expected value
Trait Implementations§
Source§impl Clone for OutputValue
impl Clone for OutputValue
Source§fn clone(&self) -> OutputValue
fn clone(&self) -> OutputValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OutputValue
impl Debug for OutputValue
Source§impl Display for OutputValue
impl Display for OutputValue
Source§impl From<i64> for OutputValue
impl From<i64> for OutputValue
Source§impl Hash for OutputValue
impl Hash for OutputValue
Source§impl PartialEq for OutputValue
impl PartialEq for OutputValue
impl Copy for OutputValue
impl Eq for OutputValue
impl StructuralPartialEq for OutputValue
Auto Trait Implementations§
impl Freeze for OutputValue
impl RefUnwindSafe for OutputValue
impl Send for OutputValue
impl Sync for OutputValue
impl Unpin for OutputValue
impl UnwindSafe for OutputValue
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