Enum riot_wrappers::saul::ActuatorClass
source · #[non_exhaustive]pub enum ActuatorClass {
LedRgb,
Servo,
Motor,
Switch,
Dimmer,
}
Available on
riot_module_saul
only.Expand description
Classes of actuators; typically used as details on a Class
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.
Trait Implementations§
source§impl Clone for ActuatorClass
impl Clone for ActuatorClass
source§fn clone(&self) -> ActuatorClass
fn clone(&self) -> ActuatorClass
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 ActuatorClass
impl Debug for ActuatorClass
impl Copy for ActuatorClass
Auto Trait Implementations§
impl RefUnwindSafe for ActuatorClass
impl Send for ActuatorClass
impl Sync for ActuatorClass
impl Unpin for ActuatorClass
impl UnwindSafe for ActuatorClass
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