#[non_exhaustive]pub struct Covered {
pub from: u64,
pub to: u64,
pub own: (u64, u64),
}Expand description
A resolved Coverage, in the caller’s units.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.from: u64Start of the range.
to: u64End of the range, exclusive.
own: (u64, u64)The checksum’s own (start, end).
Implementations§
Trait Implementations§
impl Copy for Covered
impl Eq for Covered
impl StructuralPartialEq for Covered
Auto Trait Implementations§
impl Freeze for Covered
impl RefUnwindSafe for Covered
impl Send for Covered
impl Sync for Covered
impl Unpin for Covered
impl UnsafeUnpin for Covered
impl UnwindSafe for Covered
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