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