pub struct Condition(pub String, pub u32);
Expand description
A condition that determines whether to perform an Operation or not. The first parameter is the name to a classical register. The second parameter is a value to compare the register to when interpreting the register as a binary number with index 0 as the least significan bit. When the register is equal to the second parameter the operation should be applied.
Tuple Fields§
§0: String
§1: u32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Condition
impl RefUnwindSafe for Condition
impl Send for Condition
impl Sync for Condition
impl Unpin for Condition
impl UnwindSafe for Condition
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