pub enum WcagLevel {
A,
AA,
AAA,
}Expand description
WCAG Conformance Levels.
§Examples
use html_generator::accessibility::WcagLevel;
assert_eq!(WcagLevel::AA.to_string(), "AA");Variants§
A
Level A: Minimum level of conformance Essential accessibility features that must be supported
AA
Level AA: Addresses major accessibility barriers Standard level of conformance for most websites
AAA
Level AAA: Highest level of accessibility conformance Includes additional enhancements and specialized features
Trait Implementations§
impl Copy for WcagLevel
impl Eq for WcagLevel
impl StructuralPartialEq for WcagLevel
Auto Trait Implementations§
impl Freeze for WcagLevel
impl RefUnwindSafe for WcagLevel
impl Send for WcagLevel
impl Sync for WcagLevel
impl Unpin for WcagLevel
impl UnsafeUnpin for WcagLevel
impl UnwindSafe for WcagLevel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.