Enum AccessibleLiveness
#[non_exhaustive]#[repr(u32)]pub enum AccessibleLiveness {
Off = 0,
Polite = 1,
Assertive = 2,
}Expand description
This enum represents the different values of the accessible-live-region property.
It indicates that an element is a live region whose content changes should be
announced by assistive technologies.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Off = 0
Use in regions that present information that is of low-importance to the user. Assistive technologies are expected to not announce changes unless the user explicitly asks for it.
Polite = 1
Use in regions that present new information to users. Assistive technologies are expected to not interrupt the user to inform of changes to the live region.
Assertive = 2
Use in regions that present information that a user should know about right away. Assistive technologies are expected to announce to the user as soon as possible.
Trait Implementations§
§impl Clone for AccessibleLiveness
impl Clone for AccessibleLiveness
§fn clone(&self) -> AccessibleLiveness
fn clone(&self) -> AccessibleLiveness
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AccessibleLiveness
§impl Debug for AccessibleLiveness
impl Debug for AccessibleLiveness
§impl Default for AccessibleLiveness
impl Default for AccessibleLiveness
§fn default() -> AccessibleLiveness
fn default() -> AccessibleLiveness
Returns the “default value” for a type. Read more
§impl Display for AccessibleLiveness
impl Display for AccessibleLiveness
impl Eq for AccessibleLiveness
§impl FromStr for AccessibleLiveness
impl FromStr for AccessibleLiveness
§impl Hash for AccessibleLiveness
impl Hash for AccessibleLiveness
§impl PartialEq for AccessibleLiveness
impl PartialEq for AccessibleLiveness
impl StructuralPartialEq for AccessibleLiveness
§impl TryFrom<&str> for AccessibleLiveness
impl TryFrom<&str> for AccessibleLiveness
Auto Trait Implementations§
impl Freeze for AccessibleLiveness
impl RefUnwindSafe for AccessibleLiveness
impl Send for AccessibleLiveness
impl Sync for AccessibleLiveness
impl Unpin for AccessibleLiveness
impl UnsafeUnpin for AccessibleLiveness
impl UnwindSafe for AccessibleLiveness
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
impl<T> Brush for T
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.impl<T> ErasedDestructor for Twhere
T: 'static,
Converts the given value to a [
SharedString].