pub enum SensorReadingKind {
Image,
PointCloud,
Distance,
Acceleration,
AngularVelocity,
Position,
Force,
Torque,
Contact,
Unknown,
Custom(String),
}Expand description
Descriptive sensor reading kind vocabulary.
Variants§
Image
Image reading label.
PointCloud
Point cloud reading label.
Distance
Distance reading label.
Acceleration
Acceleration reading label.
AngularVelocity
Angular velocity reading label.
Position
Position reading label.
Force
Force reading label.
Torque
Torque reading label.
Contact
Contact reading label.
Unknown
Unknown reading kind.
Custom(String)
Caller-defined reading kind text.
Trait Implementations§
Source§impl Clone for SensorReadingKind
impl Clone for SensorReadingKind
Source§fn clone(&self) -> SensorReadingKind
fn clone(&self) -> SensorReadingKind
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 SensorReadingKind
impl Debug for SensorReadingKind
Source§impl Display for SensorReadingKind
impl Display for SensorReadingKind
Source§impl FromStr for SensorReadingKind
impl FromStr for SensorReadingKind
Source§type Err = SensorReadingKindParseError
type Err = SensorReadingKindParseError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<SensorReadingKind, <SensorReadingKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<SensorReadingKind, <SensorReadingKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for SensorReadingKind
impl Hash for SensorReadingKind
Source§impl Ord for SensorReadingKind
impl Ord for SensorReadingKind
Source§fn cmp(&self, other: &SensorReadingKind) -> Ordering
fn cmp(&self, other: &SensorReadingKind) -> 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
Source§impl PartialEq for SensorReadingKind
impl PartialEq for SensorReadingKind
Source§fn eq(&self, other: &SensorReadingKind) -> bool
fn eq(&self, other: &SensorReadingKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SensorReadingKind
impl PartialOrd for SensorReadingKind
impl Eq for SensorReadingKind
impl StructuralPartialEq for SensorReadingKind
Auto Trait Implementations§
impl Freeze for SensorReadingKind
impl RefUnwindSafe for SensorReadingKind
impl Send for SensorReadingKind
impl Sync for SensorReadingKind
impl Unpin for SensorReadingKind
impl UnsafeUnpin for SensorReadingKind
impl UnwindSafe for SensorReadingKind
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