pub struct ByRoleOptions {Show 13 fields
pub suggest: Option<bool>,
pub hidden: Option<bool>,
pub selected: Option<bool>,
pub busy: Option<bool>,
pub checked: Option<bool>,
pub pressed: Option<bool>,
pub current: Option<ByRoleOptionsCurrent>,
pub expanded: Option<bool>,
pub level: Option<usize>,
pub value: Option<ByRoleOptionsValue>,
pub query_fallbacks: Option<bool>,
pub name: Option<Matcher>,
pub description: Option<Matcher>,
}
Fields§
§suggest: Option<bool>
§selected: Option<bool>
§busy: Option<bool>
§checked: Option<bool>
§pressed: Option<bool>
§current: Option<ByRoleOptionsCurrent>
§expanded: Option<bool>
§level: Option<usize>
§value: Option<ByRoleOptionsValue>
§query_fallbacks: Option<bool>
§name: Option<Matcher>
§description: Option<Matcher>
Implementations§
Source§impl ByRoleOptions
impl ByRoleOptions
pub fn suggest(self, value: bool) -> Self
pub fn selected(self, value: bool) -> Self
pub fn busy(self, value: bool) -> Self
pub fn checked(self, value: bool) -> Self
pub fn pressed(self, value: bool) -> Self
pub fn current(self, value: ByRoleOptionsCurrent) -> Self
pub fn expanded(self, value: bool) -> Self
pub fn level(self, value: usize) -> Self
pub fn value(self, value: ByRoleOptionsValue) -> Self
pub fn query_fallbacks(self, value: bool) -> Self
pub fn name(self, value: Matcher) -> Self
pub fn description(self, value: Matcher) -> Self
Trait Implementations§
Source§impl Clone for ByRoleOptions
impl Clone for ByRoleOptions
Source§fn clone(&self) -> ByRoleOptions
fn clone(&self) -> ByRoleOptions
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 Default for ByRoleOptions
impl Default for ByRoleOptions
Source§fn default() -> ByRoleOptions
fn default() -> ByRoleOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ByRoleOptions
impl !RefUnwindSafe for ByRoleOptions
impl !Send for ByRoleOptions
impl !Sync for ByRoleOptions
impl Unpin for ByRoleOptions
impl !UnwindSafe for ByRoleOptions
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