pub enum BinderKey {
CycleFocusNext,
CycleFocusPrev,
CycleLodUp,
CycleLodDown,
OverlayHeld(bool),
}Expand description
Keyboard events the interactive surface forwards to the
binder via ReadoutBinder::on_key. Push 3’s stateless
default binder ignores them; Push 5’s
TuiReadoutBinder interprets them.
Variants§
CycleFocusNext
Move focus to the next readout in the current event slot.
CycleFocusPrev
Move focus to the previous readout.
CycleLodUp
Cycle the focused readout’s LOD up (compact → labeled → expanded → compact).
CycleLodDown
Cycle the focused readout’s LOD down.
OverlayHeld(bool)
Held-key flip — true on key-down, false on key-up.
While true, every render fires with
ContentMode::Explanation.
Auto Trait Implementations§
impl Freeze for BinderKey
impl RefUnwindSafe for BinderKey
impl Send for BinderKey
impl Sync for BinderKey
impl Unpin for BinderKey
impl UnsafeUnpin for BinderKey
impl UnwindSafe for BinderKey
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more