pub struct A11yViolation {
pub rule: String,
pub message: String,
pub wcag: String,
pub impact: Impact,
}Expand description
A single accessibility violation.
Fields§
§rule: StringRule that was violated
message: StringHuman-readable message
wcag: StringWCAG success criterion
impact: ImpactImpact level
Trait Implementations§
Source§impl Clone for A11yViolation
impl Clone for A11yViolation
Source§fn clone(&self) -> A11yViolation
fn clone(&self) -> A11yViolation
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 A11yViolation
impl RefUnwindSafe for A11yViolation
impl Send for A11yViolation
impl Sync for A11yViolation
impl Unpin for A11yViolation
impl UnwindSafe for A11yViolation
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