pub enum WidgetKind {
Knob,
Slider,
Toggle,
Selector,
Dropdown,
Meter,
XYPad,
}Expand description
Explicit widget type for layout overrides.
Variants§
Knob
Slider
Toggle
Selector
Dropdown
Dropdown list - click to open a popup showing all options.
Meter
Level meter. Shows one bar per meter ID. Supports mono, stereo, or multi-channel.
XYPad
XY pad. Controls two params - X param stored in param_id, Y param in xy_param_y.
Trait Implementations§
Source§impl Clone for WidgetKind
impl Clone for WidgetKind
Source§fn clone(&self) -> WidgetKind
fn clone(&self) -> WidgetKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WidgetKind
impl Debug for WidgetKind
Source§impl PartialEq for WidgetKind
impl PartialEq for WidgetKind
Source§fn eq(&self, other: &WidgetKind) -> bool
fn eq(&self, other: &WidgetKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for WidgetKind
impl Eq for WidgetKind
impl StructuralPartialEq for WidgetKind
Auto Trait Implementations§
impl Freeze for WidgetKind
impl RefUnwindSafe for WidgetKind
impl Send for WidgetKind
impl Sync for WidgetKind
impl Unpin for WidgetKind
impl UnsafeUnpin for WidgetKind
impl UnwindSafe for WidgetKind
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.