Enum dynamixel2::instructions::FactoryResetKind
source · #[repr(u8)]
pub enum FactoryResetKind {
ResetAll,
KeepId,
KeepIdAndBaudRate,
}
Variants§
ResetAll
Reset all settings, including the motor ID and baud rate.
KeepId
Reset all settings except for the motor ID.
KeepIdAndBaudRate
Reset all settings except for the motor ID and baud rate.
Trait Implementations§
source§impl Clone for FactoryResetKind
impl Clone for FactoryResetKind
source§fn clone(&self) -> FactoryResetKind
fn clone(&self) -> FactoryResetKind
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 FactoryResetKind
impl Debug for FactoryResetKind
source§impl Hash for FactoryResetKind
impl Hash for FactoryResetKind
source§impl Ord for FactoryResetKind
impl Ord for FactoryResetKind
source§fn cmp(&self, other: &FactoryResetKind) -> Ordering
fn cmp(&self, other: &FactoryResetKind) -> Ordering
1.21.0 · 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
source§impl PartialEq<FactoryResetKind> for FactoryResetKind
impl PartialEq<FactoryResetKind> for FactoryResetKind
source§fn eq(&self, other: &FactoryResetKind) -> bool
fn eq(&self, other: &FactoryResetKind) -> bool
source§impl PartialOrd<FactoryResetKind> for FactoryResetKind
impl PartialOrd<FactoryResetKind> for FactoryResetKind
source§fn partial_cmp(&self, other: &FactoryResetKind) -> Option<Ordering>
fn partial_cmp(&self, other: &FactoryResetKind) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more