pub enum FocusIndicatorKind {
StyleOverlay,
Underline,
Border,
None,
}Expand description
The kind of visual cue used to indicate focus.
Variants§
StyleOverlay
Apply a style overlay (e.g., reverse video) to the focused widget.
Underline
Draw an underline on the focused widget’s content.
Border
Highlight the border of the focused widget’s block.
None
No visual indicator (focus is tracked but not shown).
Trait Implementations§
Source§impl Clone for FocusIndicatorKind
impl Clone for FocusIndicatorKind
Source§fn clone(&self) -> FocusIndicatorKind
fn clone(&self) -> FocusIndicatorKind
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 FocusIndicatorKind
impl Debug for FocusIndicatorKind
Source§impl Default for FocusIndicatorKind
impl Default for FocusIndicatorKind
Source§fn default() -> FocusIndicatorKind
fn default() -> FocusIndicatorKind
Returns the “default value” for a type. Read more
Source§impl Hash for FocusIndicatorKind
impl Hash for FocusIndicatorKind
Source§impl PartialEq for FocusIndicatorKind
impl PartialEq for FocusIndicatorKind
impl Copy for FocusIndicatorKind
impl Eq for FocusIndicatorKind
impl StructuralPartialEq for FocusIndicatorKind
Auto Trait Implementations§
impl Freeze for FocusIndicatorKind
impl RefUnwindSafe for FocusIndicatorKind
impl Send for FocusIndicatorKind
impl Sync for FocusIndicatorKind
impl Unpin for FocusIndicatorKind
impl UnsafeUnpin for FocusIndicatorKind
impl UnwindSafe for FocusIndicatorKind
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<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.