pub struct Coverage {
pub boundary: BoundaryCoverage,
pub any_in_signature: bool,
pub any_in_body: bool,
pub unknown_decorator: bool,
}Expand description
Annotation-slot coverage + Any/decorator signals for one function unit.
Fields§
§boundary: BoundaryCoverageThe boundary tier fed to apply_boundary_discount.
any_in_signature: boolA signature slot’s explicit annotation top-level type IS Any.
any_in_body: boolThe body contains cast(Any, …) or an Any-annotated local (AnnAssign).
unknown_decorator: boolA decorator is outside the known-pure allowlist.
Auto Trait Implementations§
impl Freeze for Coverage
impl RefUnwindSafe for Coverage
impl Send for Coverage
impl Sync for Coverage
impl Unpin for Coverage
impl UnsafeUnpin for Coverage
impl UnwindSafe for Coverage
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