pub enum PairKind {
Text,
Ui,
}Expand description
What a pair is: text to read, or a user-interface part to see.
Variants§
Text
Text over a background: 4.5:1 (WCAG 1.4.3), 7:1 in high contrast (1.4.6).
Ui
A control’s boundary, a state or a focus indicator over what is around it: 3:1 (WCAG 1.4.11).
Trait Implementations§
impl Copy for PairKind
impl Eq for PairKind
impl StructuralPartialEq for PairKind
Auto Trait Implementations§
impl Freeze for PairKind
impl RefUnwindSafe for PairKind
impl Send for PairKind
impl Sync for PairKind
impl Unpin for PairKind
impl UnsafeUnpin for PairKind
impl UnwindSafe for PairKind
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.