RevealFocus
struct · ferroui-controls · v0.5.0
struct RevealFocus
Reveal focus: the focus visual kind of the application, and the glow it shows around the element keyboard focus moves to.
Members
focus_visual_kind
fn focus_visual_kind() -> FocusVisualKind
Application.FocusVisualKind.
set_focus_visual_kind
fn set_focus_visual_kind(kind: FocusVisualKind)
Sets Application.FocusVisualKind; a glow that is shown goes when
the kind is no longer Reveal.
focused_element
fn focused_element() -> Option<Ref<Visual>>
The element the glow is shown around, if one is.
is_pressed
fn is_pressed() -> bool
Whether the press light of the glow is on.
glow_host
fn glow_host() -> Option<Ref<Border>>
The host of the glow in the adorner layer, if a glow is shown.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEither
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.