pub enum CovTerm {
Zero,
Counter(CounterId),
Expression(ExpressionId),
}
Expand description
Enum that can hold a constant zero value, the ID of an physical coverage counter, or the ID of a coverage-counter expression.
This was originally only used for expression operands (and named Operand
),
but the zero/counter/expression distinction is also useful for representing
the value of code/gap mappings, and the true/false arms of branch mappings.
Variants§
Auto Trait Implementations§
impl Freeze for CovTerm
impl RefUnwindSafe for CovTerm
impl Send for CovTerm
impl Sync for CovTerm
impl Unpin for CovTerm
impl UnwindSafe for CovTerm
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