pub struct ListReport {
pub files_scanned: usize,
pub span_count: usize,
pub annotation_span_count: usize,
pub annotation_line_count: usize,
pub parse_errors: Vec<(PathBuf, String)>,
pub spans: Vec<CommentSpan>,
}Fields§
§files_scanned: usize§span_count: usize§annotation_span_count: usize§annotation_line_count: usizeComment lines inside annotation spans; comparable to grep -c '@yah:\|@arch:' plus
wrapped continuation lines.
parse_errors: Vec<(PathBuf, String)>Files syn could not parse: their spans are still listed, without attachment/in_body.
spans: Vec<CommentSpan>Trait Implementations§
Source§impl Clone for ListReport
impl Clone for ListReport
Source§impl Debug for ListReport
impl Debug for ListReport
Source§impl Default for ListReport
impl Default for ListReport
Source§impl<'de> Deserialize<'de> for ListReport
impl<'de> Deserialize<'de> for ListReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ListReport
impl RefUnwindSafe for ListReport
impl Send for ListReport
impl Sync for ListReport
impl Unpin for ListReport
impl UnsafeUnpin for ListReport
impl UnwindSafe for ListReport
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