pub struct BehaviorReport {
pub issues: Vec<BehaviorIssue>,
pub stats: Vec<TagBehaviorStats>,
pub frames_analyzed: u64,
pub filter_enabled: bool,
}Expand description
Behavior analysis report.
Fields§
§issues: Vec<BehaviorIssue>Detected issues
stats: Vec<TagBehaviorStats>Per-tag statistics
frames_analyzed: u64Total frames analyzed
filter_enabled: boolWhether the filter was enabled
Implementations§
Source§impl BehaviorReport
impl BehaviorReport
Sourcepub fn issues_at_level(
&self,
min_level: DiagnosticLevel,
) -> impl Iterator<Item = &BehaviorIssue>
pub fn issues_at_level( &self, min_level: DiagnosticLevel, ) -> impl Iterator<Item = &BehaviorIssue>
Get issues at or above a severity level.
Sourcepub fn has_errors(&self) -> bool
pub fn has_errors(&self) -> bool
Check if there are any errors.
Sourcepub fn has_warnings(&self) -> bool
pub fn has_warnings(&self) -> bool
Check if there are any warnings or errors.
Trait Implementations§
Source§impl Clone for BehaviorReport
impl Clone for BehaviorReport
Source§fn clone(&self) -> BehaviorReport
fn clone(&self) -> BehaviorReport
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 BehaviorReport
impl RefUnwindSafe for BehaviorReport
impl Send for BehaviorReport
impl Sync for BehaviorReport
impl Unpin for BehaviorReport
impl UnwindSafe for BehaviorReport
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