Enum sbp::messages::vehicle::msg_odometry::VelocitySource
source · pub enum VelocitySource {
Source0 = 0,
Source1 = 1,
Source2 = 2,
Source3 = 3,
}
Expand description
Velocity Source
Variants§
Trait Implementations§
source§impl Clone for VelocitySource
impl Clone for VelocitySource
source§fn clone(&self) -> VelocitySource
fn clone(&self) -> VelocitySource
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 VelocitySource
impl Debug for VelocitySource
source§impl Display for VelocitySource
impl Display for VelocitySource
source§impl Hash for VelocitySource
impl Hash for VelocitySource
source§impl PartialEq for VelocitySource
impl PartialEq for VelocitySource
source§fn eq(&self, other: &VelocitySource) -> bool
fn eq(&self, other: &VelocitySource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for VelocitySource
impl TryFrom<u8> for VelocitySource
impl Copy for VelocitySource
impl Eq for VelocitySource
impl StructuralPartialEq for VelocitySource
Auto Trait Implementations§
impl Freeze for VelocitySource
impl RefUnwindSafe for VelocitySource
impl Send for VelocitySource
impl Sync for VelocitySource
impl Unpin for VelocitySource
impl UnwindSafe for VelocitySource
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