pub struct CoverageAnnotation {
pub line: usize,
pub message: String,
pub severity: AnnotationSeverity,
}Expand description
Inline annotation for displaying coverage information in the editor
Fields§
§line: usizeLine number to annotate
message: StringDescription of the coverage status
severity: AnnotationSeveritySeverity level for display styling
Trait Implementations§
Source§impl Clone for CoverageAnnotation
impl Clone for CoverageAnnotation
Source§fn clone(&self) -> CoverageAnnotation
fn clone(&self) -> CoverageAnnotation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CoverageAnnotation
impl RefUnwindSafe for CoverageAnnotation
impl Send for CoverageAnnotation
impl Sync for CoverageAnnotation
impl Unpin for CoverageAnnotation
impl UnsafeUnpin for CoverageAnnotation
impl UnwindSafe for CoverageAnnotation
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