pub enum FocusHighlightMode {
Touch,
Traditional,
}Expand description
An enum to describe which kind of focus highlight behavior to use when displaying focus information.
Variants§
Touch
Touch interfaces will not show the focus highlight except for controls which bring up the soft keyboard.
If a device that uses a traditional mouse and keyboard has a touch screen attached, it
can also enter touch mode if the user is using the touch screen.
Traditional
Traditional interfaces (keyboard and mouse) will show the currently focused control via a focus highlight of some sort.
If a touch device (like a mobile phone) has a keyboard and/or mouse attached, it also
can enter traditional mode if the user is using these input devices.
Trait Implementations§
Source§impl Clone for FocusHighlightMode
impl Clone for FocusHighlightMode
impl Copy for FocusHighlightMode
Source§impl Debug for FocusHighlightMode
impl Debug for FocusHighlightMode
impl Eq for FocusHighlightMode
Source§impl PartialEq for FocusHighlightMode
impl PartialEq for FocusHighlightMode
impl StructuralPartialEq for FocusHighlightMode
Auto Trait Implementations§
impl Forget for FocusHighlightMode
impl Freeze for FocusHighlightMode
impl Move for FocusHighlightMode
impl RefUnwindSafe for FocusHighlightMode
impl Send for FocusHighlightMode
impl Sync for FocusHighlightMode
impl Unpin for FocusHighlightMode
impl UnsafeUnpin for FocusHighlightMode
impl UnwindSafe for FocusHighlightMode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.