pub struct ConditionId {
private_use_as_methods_instead: u32,
}
Expand description
ID of a mcdc condition. Used by llvm to check mcdc coverage.
Note for future: the max limit of 0xFFFF is probably too loose. Actually llvm does not
support decisions with too many conditions (7 and more at LLVM 18 while may be hundreds at 19)
and represents it with int16_t
. This max value may be changed once we could
figure out an accurate limit.
Fields§
§private_use_as_methods_instead: u32
Auto Trait Implementations§
impl Freeze for ConditionId
impl RefUnwindSafe for ConditionId
impl Send for ConditionId
impl Sync for ConditionId
impl Unpin for ConditionId
impl UnwindSafe for ConditionId
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