pub struct SemanticsConfiguration {
pub content_description: Option<String>,
pub is_button: bool,
pub is_clickable: bool,
}Expand description
Semantics configuration for accessibility.
Fields§
§content_description: Option<String>§is_clickable: boolImplementations§
Source§impl SemanticsConfiguration
impl SemanticsConfiguration
pub fn merge(&mut self, other: &SemanticsConfiguration)
Trait Implementations§
Source§impl Clone for SemanticsConfiguration
impl Clone for SemanticsConfiguration
Source§fn clone(&self) -> SemanticsConfiguration
fn clone(&self) -> SemanticsConfiguration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SemanticsConfiguration
impl Debug for SemanticsConfiguration
Source§impl Default for SemanticsConfiguration
impl Default for SemanticsConfiguration
Source§fn default() -> SemanticsConfiguration
fn default() -> SemanticsConfiguration
Returns the “default value” for a type. Read more
Source§impl PartialEq for SemanticsConfiguration
impl PartialEq for SemanticsConfiguration
impl StructuralPartialEq for SemanticsConfiguration
Auto Trait Implementations§
impl Freeze for SemanticsConfiguration
impl RefUnwindSafe for SemanticsConfiguration
impl Send for SemanticsConfiguration
impl Sync for SemanticsConfiguration
impl Unpin for SemanticsConfiguration
impl UnwindSafe for SemanticsConfiguration
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