pub struct Report { /* private fields */ }Expand description
The result of Profile::check: every violation found, without allocating.
Implementations§
Source§impl Report
impl Report
Sourcepub const fn is_ok(&self) -> bool
pub const fn is_ok(&self) -> bool
Whether the session satisfies the profile. Never true for a truncated report.
Sourcepub const fn truncated(&self) -> bool
pub const fn truncated(&self) -> bool
Whether more violations were found than the report holds.
Sourcepub fn violations(&self) -> impl Iterator<Item = Violation> + '_
pub fn violations(&self) -> impl Iterator<Item = Violation> + '_
The violations, in rule order.
Trait Implementations§
impl Copy for Report
impl Eq for Report
impl StructuralPartialEq for Report
Auto Trait Implementations§
impl Forget for Report
impl Freeze for Report
impl Move for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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