pub enum RotorSpeed {
Slow,
Fast,
}Expand description
The rotary speaker’s rotor speed. Manual: “Switch between fast and slow rotor speeds.”
⚠️ Stopped is not one of these — it is a separate flag, so neither field answers on its own.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RotorSpeed
impl Clone for RotorSpeed
Source§fn clone(&self) -> RotorSpeed
fn clone(&self) -> RotorSpeed
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 moreimpl Copy for RotorSpeed
Source§impl Debug for RotorSpeed
The variant name, which is what --set takes. ⚠️ Not Display, which is
the panel’s own word for the state and may differ.
impl Debug for RotorSpeed
The variant name, which is what --set takes. ⚠️ Not Display, which is
the panel’s own word for the state and may differ.
Source§impl Default for RotorSpeed
impl Default for RotorSpeed
Source§fn default() -> RotorSpeed
fn default() -> RotorSpeed
Returns the “default value” for a type. Read more
Source§impl Display for RotorSpeed
impl Display for RotorSpeed
impl Eq for RotorSpeed
Source§impl Hash for RotorSpeed
impl Hash for RotorSpeed
Source§impl Ord for RotorSpeed
impl Ord for RotorSpeed
Source§fn cmp(&self, other: &RotorSpeed) -> Ordering
fn cmp(&self, other: &RotorSpeed) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl Packed for RotorSpeed
impl Packed for RotorSpeed
Source§const MAX_BITS: u32 = 1
const MAX_BITS: u32 = 1
Bits the widest value of this type occupies. Used to check statically that it
fits its slot.
Source§const DECODE_BITS: u32 = 1
const DECODE_BITS: u32 = 1
Widest slot this type can decode without losing bits on re-encoding. Read more
Source§const CONTROL: ControlKind = crate::fields::ControlKind::Toggle
const CONTROL: ControlKind = crate::fields::ControlKind::Toggle
Which panel control this value is, for a caller building an interface over the
field registry. Read more
Source§type Error = !
type Error = !
Why a bit pattern is not a valid value.
Infallible when every pattern is.Source§impl PartialEq for RotorSpeed
impl PartialEq for RotorSpeed
Source§impl PartialOrd for RotorSpeed
impl PartialOrd for RotorSpeed
impl StructuralPartialEq for RotorSpeed
Auto Trait Implementations§
impl Freeze for RotorSpeed
impl RefUnwindSafe for RotorSpeed
impl Send for RotorSpeed
impl Sync for RotorSpeed
impl Unpin for RotorSpeed
impl UnsafeUnpin for RotorSpeed
impl UnwindSafe for RotorSpeed
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.