pub struct StateCue {
pub label: &'static str,
pub shape: CueShape,
pub pattern: CuePattern,
}Expand description
Render a descriptive localizable label (replace this English fallback when needed) AND a visible shape/pattern; never convey a state only by hue. Static cues require no flash/motion and have no input/remapping semantics.
Fields§
§label: &'static str§shape: CueShape§pattern: CuePatternTrait Implementations§
impl Copy for StateCue
impl Eq for StateCue
impl StructuralPartialEq for StateCue
Auto Trait Implementations§
impl Freeze for StateCue
impl RefUnwindSafe for StateCue
impl Send for StateCue
impl Sync for StateCue
impl Unpin for StateCue
impl UnwindSafe for StateCue
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