Enum sbp::messages::solution_meta::solution_input_type::SensorUsage
source · pub enum SensorUsage {
Unknown = 0,
ReceivedAndUsed = 1,
ReceivedButNotUsed = 2,
}
Expand description
Sensor Usage
Variants§
Unknown = 0
Unknown
ReceivedAndUsed = 1
Received and used
ReceivedButNotUsed = 2
Received but not used
Trait Implementations§
source§impl Clone for SensorUsage
impl Clone for SensorUsage
source§fn clone(&self) -> SensorUsage
fn clone(&self) -> SensorUsage
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 SensorUsage
impl Debug for SensorUsage
source§impl Display for SensorUsage
impl Display for SensorUsage
source§impl Hash for SensorUsage
impl Hash for SensorUsage
source§impl PartialEq for SensorUsage
impl PartialEq for SensorUsage
source§fn eq(&self, other: &SensorUsage) -> bool
fn eq(&self, other: &SensorUsage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for SensorUsage
impl TryFrom<u8> for SensorUsage
impl Copy for SensorUsage
impl Eq for SensorUsage
impl StructuralPartialEq for SensorUsage
Auto Trait Implementations§
impl Freeze for SensorUsage
impl RefUnwindSafe for SensorUsage
impl Send for SensorUsage
impl Sync for SensorUsage
impl Unpin for SensorUsage
impl UnwindSafe for SensorUsage
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