pub enum Operand {
Zero,
Counter(CounterId),
Expression(ExpressionId),
}
Expand description
Operand of a coverage-counter expression.
Operands can be a constant zero value, an actual coverage counter, or another expression. Counter/expression operands are referred to by ID.
Variants§
Auto Trait Implementations§
impl RefUnwindSafe for Operand
impl Send for Operand
impl Sync for Operand
impl Unpin for Operand
impl UnwindSafe for Operand
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