Enum bluer::mesh::agent::NumericCapability
source · #[non_exhaustive]pub enum NumericCapability {
Blink,
Beep,
Vibrate,
OutNumeric,
Push,
Twist,
}
Available on crate feature
mesh
only.Expand description
Agent numeric capabilities.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Blink
LED blinks.
Beep
Device beeps.
Vibrate
Device vibrations.
OutNumeric
Remote value.
Push
Button pushes.
Twist
Knob twists.
Trait Implementations§
source§impl Clone for NumericCapability
impl Clone for NumericCapability
source§fn clone(&self) -> NumericCapability
fn clone(&self) -> NumericCapability
Returns a copy of the value. Read more
1.0.0 · 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 NumericCapability
impl Debug for NumericCapability
source§impl FromStr for NumericCapability
impl FromStr for NumericCapability
source§impl PartialEq for NumericCapability
impl PartialEq for NumericCapability
source§fn eq(&self, other: &NumericCapability) -> bool
fn eq(&self, other: &NumericCapability) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&str> for NumericCapability
impl TryFrom<&str> for NumericCapability
impl Copy for NumericCapability
impl Eq for NumericCapability
impl StructuralPartialEq for NumericCapability
Auto Trait Implementations§
impl Freeze for NumericCapability
impl RefUnwindSafe for NumericCapability
impl Send for NumericCapability
impl Sync for NumericCapability
impl Unpin for NumericCapability
impl UnwindSafe for NumericCapability
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