pub enum FeaturePoint {
Show 15 variants
BaseFeature = 1,
VisionFeature = 2,
WaypointFeature = 3,
AgricultureFeature = 4,
AirLinkFeature = 5,
AfterSalesFeature = 6,
DJIFlyCustomFeature = 7,
PlaintextFeature = 8,
FlightHubFeature = 9,
GimbalFeature = 10,
RCFeature = 11,
CameraFeature = 12,
BatteryFeature = 13,
FlySafeFeature = 14,
SecurityFeature = 15,
}Variants§
BaseFeature = 1
VisionFeature = 2
WaypointFeature = 3
AgricultureFeature = 4
AirLinkFeature = 5
AfterSalesFeature = 6
DJIFlyCustomFeature = 7
PlaintextFeature = 8
FlightHubFeature = 9
GimbalFeature = 10
RCFeature = 11
CameraFeature = 12
BatteryFeature = 13
FlySafeFeature = 14
SecurityFeature = 15
Implementations§
Source§impl FeaturePoint
impl FeaturePoint
pub fn from_record_type(record_type: u8, version: u8) -> Self
Trait Implementations§
Source§impl BinRead for FeaturePoint
impl BinRead for FeaturePoint
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<Self>
Source§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
big-endian byte order. Read moreSource§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
little-endian byte order. Read moreSource§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
Read
T from the reader assuming native-endian byte order. Read moreSource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader, assuming big-endian byte order, using the
given arguments. Read moreSource§impl Clone for FeaturePoint
impl Clone for FeaturePoint
Source§fn clone(&self) -> FeaturePoint
fn clone(&self) -> FeaturePoint
Returns a duplicate 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 FeaturePoint
impl Debug for FeaturePoint
Source§impl<'de> Deserialize<'de> for FeaturePoint
impl<'de> Deserialize<'de> for FeaturePoint
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for FeaturePoint
impl Hash for FeaturePoint
Source§impl PartialEq for FeaturePoint
impl PartialEq for FeaturePoint
Source§impl Serialize for FeaturePoint
impl Serialize for FeaturePoint
impl Copy for FeaturePoint
impl Eq for FeaturePoint
impl StructuralPartialEq for FeaturePoint
Auto Trait Implementations§
impl Freeze for FeaturePoint
impl RefUnwindSafe for FeaturePoint
impl Send for FeaturePoint
impl Sync for FeaturePoint
impl Unpin for FeaturePoint
impl UnwindSafe for FeaturePoint
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