Enum mavlink::MavlinkVersion
source · pub enum MavlinkVersion {
V1,
V2,
}
Expand description
Versions of the Mavlink protocol that we support
Variants§
Trait Implementations§
source§impl Clone for MavlinkVersion
impl Clone for MavlinkVersion
source§fn clone(&self) -> MavlinkVersion
fn clone(&self) -> MavlinkVersion
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 MavlinkVersion
impl Debug for MavlinkVersion
source§impl PartialEq<MavlinkVersion> for MavlinkVersion
impl PartialEq<MavlinkVersion> for MavlinkVersion
source§fn eq(&self, other: &MavlinkVersion) -> bool
fn eq(&self, other: &MavlinkVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MavlinkVersion
impl Serialize for MavlinkVersion
impl Copy for MavlinkVersion
impl Eq for MavlinkVersion
impl StructuralEq for MavlinkVersion
impl StructuralPartialEq for MavlinkVersion
Auto Trait Implementations§
impl RefUnwindSafe for MavlinkVersion
impl Send for MavlinkVersion
impl Sync for MavlinkVersion
impl Unpin for MavlinkVersion
impl UnwindSafe for MavlinkVersion
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