#[repr(u32)]pub enum SemanticRole {
Show 17 variants
None = 0,
Button = 1,
Textbox = 2,
Link = 3,
Heading = 4,
Form = 5,
List = 6,
ListItem = 7,
Image = 8,
Dialog = 9,
StaticText = 10,
Checkbox = 11,
Radio = 12,
RadioGroup = 13,
Switch = 14,
Slider = 15,
ComboBox = 16,
}Variants§
None = 0
Button = 1
Textbox = 2
Link = 3
Heading = 4
Form = 5
List = 6
ListItem = 7
Image = 8
Dialog = 9
StaticText = 10
Checkbox = 11
Radio = 12
RadioGroup = 13
Switch = 14
Slider = 15
ComboBox = 16
Trait Implementations§
Source§impl Clone for SemanticRole
impl Clone for SemanticRole
Source§fn clone(&self) -> SemanticRole
fn clone(&self) -> SemanticRole
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 SemanticRole
Source§impl Debug for SemanticRole
impl Debug for SemanticRole
impl Eq for SemanticRole
Source§impl PartialEq for SemanticRole
impl PartialEq for SemanticRole
impl StructuralPartialEq for SemanticRole
Auto Trait Implementations§
impl Freeze for SemanticRole
impl RefUnwindSafe for SemanticRole
impl Send for SemanticRole
impl Sync for SemanticRole
impl Unpin for SemanticRole
impl UnsafeUnpin for SemanticRole
impl UnwindSafe for SemanticRole
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