pub struct AccessibilityFeatures;Expand description
Accessibility features
Implementations§
Source§impl AccessibilityFeatures
impl AccessibilityFeatures
Sourcepub fn screen_reader_enabled() -> bool
pub fn screen_reader_enabled() -> bool
Check if screen reader mode is enabled
Sourcepub fn high_contrast_enabled() -> bool
pub fn high_contrast_enabled() -> bool
Check if high contrast mode is enabled
Sourcepub fn reduced_motion_enabled() -> bool
pub fn reduced_motion_enabled() -> bool
Check if reduced motion is preferred
Sourcepub fn get_settings() -> AccessibilitySettings
pub fn get_settings() -> AccessibilitySettings
Get accessibility settings
Sourcepub fn print_settings()
pub fn print_settings()
Print accessibility settings
Sourcepub fn print_guide()
pub fn print_guide()
Print accessibility guide
Auto Trait Implementations§
impl Freeze for AccessibilityFeatures
impl RefUnwindSafe for AccessibilityFeatures
impl Send for AccessibilityFeatures
impl Sync for AccessibilityFeatures
impl Unpin for AccessibilityFeatures
impl UnwindSafe for AccessibilityFeatures
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more