pub struct AccessibilityInputs {
pub screen_reader: bool,
pub high_contrast: bool,
pub reduce_motion: bool,
pub text_scale: Option<f32>,
pub ui_scale: Option<f32>,
}Fields§
§screen_reader: bool§high_contrast: bool§reduce_motion: bool§text_scale: Option<f32>§ui_scale: Option<f32>Trait Implementations§
Source§impl Clone for AccessibilityInputs
impl Clone for AccessibilityInputs
Source§fn clone(&self) -> AccessibilityInputs
fn clone(&self) -> AccessibilityInputs
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 AccessibilityInputs
Source§impl Debug for AccessibilityInputs
impl Debug for AccessibilityInputs
Source§impl Default for AccessibilityInputs
impl Default for AccessibilityInputs
Source§fn default() -> AccessibilityInputs
fn default() -> AccessibilityInputs
Returns the “default value” for a type. Read more
Source§impl PartialEq for AccessibilityInputs
impl PartialEq for AccessibilityInputs
impl StructuralPartialEq for AccessibilityInputs
Auto Trait Implementations§
impl Forget for AccessibilityInputs
impl Freeze for AccessibilityInputs
impl Move for AccessibilityInputs
impl RefUnwindSafe for AccessibilityInputs
impl Send for AccessibilityInputs
impl Sync for AccessibilityInputs
impl Unpin for AccessibilityInputs
impl UnsafeUnpin for AccessibilityInputs
impl UnwindSafe for AccessibilityInputs
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<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