pub struct A11yReport {
pub violations: Vec<A11yViolation>,
}Expand description
Accessibility report.
Fields§
§violations: Vec<A11yViolation>List of violations found
Implementations§
Source§impl A11yReport
impl A11yReport
Sourcepub fn is_passing(&self) -> bool
pub fn is_passing(&self) -> bool
Check if all accessibility tests passed.
Sourcepub fn critical(&self) -> Vec<&A11yViolation>
pub fn critical(&self) -> Vec<&A11yViolation>
Get critical violations only.
Sourcepub fn assert_pass(&self)
pub fn assert_pass(&self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for A11yReport
impl RefUnwindSafe for A11yReport
impl Send for A11yReport
impl Sync for A11yReport
impl Unpin for A11yReport
impl UnwindSafe for A11yReport
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