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 for MavlinkVersion
impl PartialEq for MavlinkVersion
source§impl Serialize for MavlinkVersion
impl Serialize for MavlinkVersion
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for MavlinkVersion
impl Eq for MavlinkVersion
impl StructuralPartialEq for MavlinkVersion
Auto Trait Implementations§
impl Freeze for MavlinkVersion
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)