#[repr(u32)]pub enum MavCmd {
Show 159 variants
MAV_CMD_NAV_WAYPOINT = 16,
MAV_CMD_NAV_LOITER_UNLIM = 17,
MAV_CMD_NAV_LOITER_TURNS = 18,
MAV_CMD_NAV_LOITER_TIME = 19,
MAV_CMD_NAV_RETURN_TO_LAUNCH = 20,
MAV_CMD_NAV_LAND = 21,
MAV_CMD_NAV_TAKEOFF = 22,
MAV_CMD_NAV_LAND_LOCAL = 23,
MAV_CMD_NAV_TAKEOFF_LOCAL = 24,
MAV_CMD_NAV_FOLLOW = 25,
MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT = 30,
MAV_CMD_NAV_LOITER_TO_ALT = 31,
MAV_CMD_DO_FOLLOW = 32,
MAV_CMD_DO_FOLLOW_REPOSITION = 33,
MAV_CMD_DO_ORBIT = 34,
MAV_CMD_NAV_ROI = 80,
MAV_CMD_NAV_PATHPLANNING = 81,
MAV_CMD_NAV_SPLINE_WAYPOINT = 82,
MAV_CMD_NAV_VTOL_TAKEOFF = 84,
MAV_CMD_NAV_VTOL_LAND = 85,
MAV_CMD_NAV_GUIDED_ENABLE = 92,
MAV_CMD_NAV_DELAY = 93,
MAV_CMD_NAV_PAYLOAD_PLACE = 94,
MAV_CMD_NAV_LAST = 95,
MAV_CMD_CONDITION_DELAY = 112,
MAV_CMD_CONDITION_CHANGE_ALT = 113,
MAV_CMD_CONDITION_DISTANCE = 114,
MAV_CMD_CONDITION_YAW = 115,
MAV_CMD_CONDITION_LAST = 159,
MAV_CMD_DO_SET_MODE = 176,
MAV_CMD_DO_JUMP = 177,
MAV_CMD_DO_CHANGE_SPEED = 178,
MAV_CMD_DO_SET_HOME = 179,
MAV_CMD_DO_SET_PARAMETER = 180,
MAV_CMD_DO_SET_RELAY = 181,
MAV_CMD_DO_REPEAT_RELAY = 182,
MAV_CMD_DO_SET_SERVO = 183,
MAV_CMD_DO_REPEAT_SERVO = 184,
MAV_CMD_DO_FLIGHTTERMINATION = 185,
MAV_CMD_DO_CHANGE_ALTITUDE = 186,
MAV_CMD_DO_SET_ACTUATOR = 187,
MAV_CMD_DO_LAND_START = 189,
MAV_CMD_DO_RALLY_LAND = 190,
MAV_CMD_DO_GO_AROUND = 191,
MAV_CMD_DO_REPOSITION = 192,
MAV_CMD_DO_PAUSE_CONTINUE = 193,
MAV_CMD_DO_SET_REVERSE = 194,
MAV_CMD_DO_SET_ROI_LOCATION = 195,
MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET = 196,
MAV_CMD_DO_SET_ROI_NONE = 197,
MAV_CMD_DO_SET_ROI_SYSID = 198,
MAV_CMD_DO_CONTROL_VIDEO = 200,
MAV_CMD_DO_SET_ROI = 201,
MAV_CMD_DO_DIGICAM_CONFIGURE = 202,
MAV_CMD_DO_DIGICAM_CONTROL = 203,
MAV_CMD_DO_MOUNT_CONFIGURE = 204,
MAV_CMD_DO_MOUNT_CONTROL = 205,
MAV_CMD_DO_SET_CAM_TRIGG_DIST = 206,
MAV_CMD_DO_FENCE_ENABLE = 207,
MAV_CMD_DO_PARACHUTE = 208,
MAV_CMD_DO_MOTOR_TEST = 209,
MAV_CMD_DO_INVERTED_FLIGHT = 210,
MAV_CMD_DO_GRIPPER = 211,
MAV_CMD_DO_AUTOTUNE_ENABLE = 212,
MAV_CMD_NAV_SET_YAW_SPEED = 213,
MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL = 214,
MAV_CMD_DO_MOUNT_CONTROL_QUAT = 220,
MAV_CMD_DO_GUIDED_MASTER = 221,
MAV_CMD_DO_GUIDED_LIMITS = 222,
MAV_CMD_DO_ENGINE_CONTROL = 223,
MAV_CMD_DO_SET_MISSION_CURRENT = 224,
MAV_CMD_DO_LAST = 240,
MAV_CMD_PREFLIGHT_CALIBRATION = 241,
MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS = 242,
MAV_CMD_PREFLIGHT_UAVCAN = 243,
MAV_CMD_PREFLIGHT_STORAGE = 245,
MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN = 246,
MAV_CMD_OVERRIDE_GOTO = 252,
MAV_CMD_OBLIQUE_SURVEY = 260,
MAV_CMD_MISSION_START = 300,
MAV_CMD_ACTUATOR_TEST = 310,
MAV_CMD_CONFIGURE_ACTUATOR = 311,
MAV_CMD_COMPONENT_ARM_DISARM = 400,
MAV_CMD_RUN_PREARM_CHECKS = 401,
MAV_CMD_ILLUMINATOR_ON_OFF = 405,
MAV_CMD_GET_HOME_POSITION = 410,
MAV_CMD_INJECT_FAILURE = 420,
MAV_CMD_START_RX_PAIR = 500,
MAV_CMD_GET_MESSAGE_INTERVAL = 510,
MAV_CMD_SET_MESSAGE_INTERVAL = 511,
MAV_CMD_REQUEST_MESSAGE = 512,
MAV_CMD_REQUEST_PROTOCOL_VERSION = 519,
MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES = 520,
MAV_CMD_REQUEST_CAMERA_INFORMATION = 521,
MAV_CMD_REQUEST_CAMERA_SETTINGS = 522,
MAV_CMD_REQUEST_STORAGE_INFORMATION = 525,
MAV_CMD_STORAGE_FORMAT = 526,
MAV_CMD_REQUEST_CAMERA_CAPTURE_STATUS = 527,
MAV_CMD_REQUEST_FLIGHT_INFORMATION = 528,
MAV_CMD_RESET_CAMERA_SETTINGS = 529,
MAV_CMD_SET_CAMERA_MODE = 530,
MAV_CMD_SET_CAMERA_ZOOM = 531,
MAV_CMD_SET_CAMERA_FOCUS = 532,
MAV_CMD_SET_STORAGE_USAGE = 533,
MAV_CMD_JUMP_TAG = 600,
MAV_CMD_DO_JUMP_TAG = 601,
MAV_CMD_DO_GIMBAL_MANAGER_PITCHYAW = 1_000,
MAV_CMD_DO_GIMBAL_MANAGER_CONFIGURE = 1_001,
MAV_CMD_IMAGE_START_CAPTURE = 2_000,
MAV_CMD_IMAGE_STOP_CAPTURE = 2_001,
MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE = 2_002,
MAV_CMD_DO_TRIGGER_CONTROL = 2_003,
MAV_CMD_CAMERA_TRACK_POINT = 2_004,
MAV_CMD_CAMERA_TRACK_RECTANGLE = 2_005,
MAV_CMD_CAMERA_STOP_TRACKING = 2_010,
MAV_CMD_VIDEO_START_CAPTURE = 2_500,
MAV_CMD_VIDEO_STOP_CAPTURE = 2_501,
MAV_CMD_VIDEO_START_STREAMING = 2_502,
MAV_CMD_VIDEO_STOP_STREAMING = 2_503,
MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION = 2_504,
MAV_CMD_REQUEST_VIDEO_STREAM_STATUS = 2_505,
MAV_CMD_LOGGING_START = 2_510,
MAV_CMD_LOGGING_STOP = 2_511,
MAV_CMD_AIRFRAME_CONFIGURATION = 2_520,
MAV_CMD_CONTROL_HIGH_LATENCY = 2_600,
MAV_CMD_PANORAMA_CREATE = 2_800,
MAV_CMD_DO_VTOL_TRANSITION = 3_000,
MAV_CMD_ARM_AUTHORIZATION_REQUEST = 3_001,
MAV_CMD_SET_GUIDED_SUBMODE_STANDARD = 4_000,
MAV_CMD_SET_GUIDED_SUBMODE_CIRCLE = 4_001,
MAV_CMD_CONDITION_GATE = 4_501,
MAV_CMD_NAV_FENCE_RETURN_POINT = 5_000,
MAV_CMD_NAV_FENCE_POLYGON_VERTEX_INCLUSION = 5_001,
MAV_CMD_NAV_FENCE_POLYGON_VERTEX_EXCLUSION = 5_002,
MAV_CMD_NAV_FENCE_CIRCLE_INCLUSION = 5_003,
MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION = 5_004,
MAV_CMD_NAV_RALLY_POINT = 5_100,
MAV_CMD_UAVCAN_GET_NODE_INFO = 5_200,
MAV_CMD_DO_ADSB_OUT_IDENT = 10_001,
MAV_CMD_PAYLOAD_PREPARE_DEPLOY = 30_001,
MAV_CMD_PAYLOAD_CONTROL_DEPLOY = 30_002,
MAV_CMD_FIXED_MAG_CAL_YAW = 42_006,
MAV_CMD_DO_WINCH = 42_600,
MAV_CMD_WAYPOINT_USER_1 = 31_000,
MAV_CMD_WAYPOINT_USER_2 = 31_001,
MAV_CMD_WAYPOINT_USER_3 = 31_002,
MAV_CMD_WAYPOINT_USER_4 = 31_003,
MAV_CMD_WAYPOINT_USER_5 = 31_004,
MAV_CMD_SPATIAL_USER_1 = 31_005,
MAV_CMD_SPATIAL_USER_2 = 31_006,
MAV_CMD_SPATIAL_USER_3 = 31_007,
MAV_CMD_SPATIAL_USER_4 = 31_008,
MAV_CMD_SPATIAL_USER_5 = 31_009,
MAV_CMD_USER_1 = 31_010,
MAV_CMD_USER_2 = 31_011,
MAV_CMD_USER_3 = 31_012,
MAV_CMD_USER_4 = 31_013,
MAV_CMD_USER_5 = 31_014,
MAV_CMD_CAN_FORWARD = 32_000,
}
Variants§
MAV_CMD_NAV_WAYPOINT = 16
MAV_CMD_NAV_LOITER_UNLIM = 17
MAV_CMD_NAV_LOITER_TURNS = 18
MAV_CMD_NAV_LOITER_TIME = 19
MAV_CMD_NAV_RETURN_TO_LAUNCH = 20
MAV_CMD_NAV_LAND = 21
MAV_CMD_NAV_TAKEOFF = 22
MAV_CMD_NAV_LAND_LOCAL = 23
MAV_CMD_NAV_TAKEOFF_LOCAL = 24
MAV_CMD_NAV_FOLLOW = 25
MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT = 30
MAV_CMD_NAV_LOITER_TO_ALT = 31
MAV_CMD_DO_FOLLOW = 32
MAV_CMD_DO_FOLLOW_REPOSITION = 33
MAV_CMD_DO_ORBIT = 34
MAV_CMD_NAV_ROI = 80
MAV_CMD_NAV_PATHPLANNING = 81
MAV_CMD_NAV_SPLINE_WAYPOINT = 82
MAV_CMD_NAV_VTOL_TAKEOFF = 84
MAV_CMD_NAV_VTOL_LAND = 85
MAV_CMD_NAV_GUIDED_ENABLE = 92
MAV_CMD_NAV_DELAY = 93
MAV_CMD_NAV_PAYLOAD_PLACE = 94
MAV_CMD_NAV_LAST = 95
MAV_CMD_CONDITION_DELAY = 112
MAV_CMD_CONDITION_CHANGE_ALT = 113
MAV_CMD_CONDITION_DISTANCE = 114
MAV_CMD_CONDITION_YAW = 115
MAV_CMD_CONDITION_LAST = 159
MAV_CMD_DO_SET_MODE = 176
MAV_CMD_DO_JUMP = 177
MAV_CMD_DO_CHANGE_SPEED = 178
MAV_CMD_DO_SET_HOME = 179
MAV_CMD_DO_SET_PARAMETER = 180
MAV_CMD_DO_SET_RELAY = 181
MAV_CMD_DO_REPEAT_RELAY = 182
MAV_CMD_DO_SET_SERVO = 183
MAV_CMD_DO_REPEAT_SERVO = 184
MAV_CMD_DO_FLIGHTTERMINATION = 185
MAV_CMD_DO_CHANGE_ALTITUDE = 186
MAV_CMD_DO_SET_ACTUATOR = 187
MAV_CMD_DO_LAND_START = 189
MAV_CMD_DO_RALLY_LAND = 190
MAV_CMD_DO_GO_AROUND = 191
MAV_CMD_DO_REPOSITION = 192
MAV_CMD_DO_PAUSE_CONTINUE = 193
MAV_CMD_DO_SET_REVERSE = 194
MAV_CMD_DO_SET_ROI_LOCATION = 195
MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET = 196
MAV_CMD_DO_SET_ROI_NONE = 197
MAV_CMD_DO_SET_ROI_SYSID = 198
MAV_CMD_DO_CONTROL_VIDEO = 200
MAV_CMD_DO_SET_ROI = 201
MAV_CMD_DO_DIGICAM_CONFIGURE = 202
MAV_CMD_DO_DIGICAM_CONTROL = 203
MAV_CMD_DO_MOUNT_CONFIGURE = 204
MAV_CMD_DO_MOUNT_CONTROL = 205
MAV_CMD_DO_SET_CAM_TRIGG_DIST = 206
MAV_CMD_DO_FENCE_ENABLE = 207
MAV_CMD_DO_PARACHUTE = 208
MAV_CMD_DO_MOTOR_TEST = 209
MAV_CMD_DO_INVERTED_FLIGHT = 210
MAV_CMD_DO_GRIPPER = 211
MAV_CMD_DO_AUTOTUNE_ENABLE = 212
MAV_CMD_NAV_SET_YAW_SPEED = 213
MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL = 214
MAV_CMD_DO_MOUNT_CONTROL_QUAT = 220
MAV_CMD_DO_GUIDED_MASTER = 221
MAV_CMD_DO_GUIDED_LIMITS = 222
MAV_CMD_DO_ENGINE_CONTROL = 223
MAV_CMD_DO_SET_MISSION_CURRENT = 224
MAV_CMD_DO_LAST = 240
MAV_CMD_PREFLIGHT_CALIBRATION = 241
MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS = 242
MAV_CMD_PREFLIGHT_UAVCAN = 243
MAV_CMD_PREFLIGHT_STORAGE = 245
MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN = 246
MAV_CMD_OVERRIDE_GOTO = 252
MAV_CMD_OBLIQUE_SURVEY = 260
MAV_CMD_MISSION_START = 300
MAV_CMD_ACTUATOR_TEST = 310
MAV_CMD_CONFIGURE_ACTUATOR = 311
MAV_CMD_COMPONENT_ARM_DISARM = 400
MAV_CMD_RUN_PREARM_CHECKS = 401
MAV_CMD_ILLUMINATOR_ON_OFF = 405
MAV_CMD_GET_HOME_POSITION = 410
MAV_CMD_INJECT_FAILURE = 420
MAV_CMD_START_RX_PAIR = 500
MAV_CMD_GET_MESSAGE_INTERVAL = 510
MAV_CMD_SET_MESSAGE_INTERVAL = 511
MAV_CMD_REQUEST_MESSAGE = 512
MAV_CMD_REQUEST_PROTOCOL_VERSION = 519
MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES = 520
MAV_CMD_REQUEST_CAMERA_INFORMATION = 521
MAV_CMD_REQUEST_CAMERA_SETTINGS = 522
MAV_CMD_REQUEST_STORAGE_INFORMATION = 525
MAV_CMD_STORAGE_FORMAT = 526
MAV_CMD_REQUEST_CAMERA_CAPTURE_STATUS = 527
MAV_CMD_REQUEST_FLIGHT_INFORMATION = 528
MAV_CMD_RESET_CAMERA_SETTINGS = 529
MAV_CMD_SET_CAMERA_MODE = 530
MAV_CMD_SET_CAMERA_ZOOM = 531
MAV_CMD_SET_CAMERA_FOCUS = 532
MAV_CMD_SET_STORAGE_USAGE = 533
MAV_CMD_JUMP_TAG = 600
MAV_CMD_DO_JUMP_TAG = 601
MAV_CMD_DO_GIMBAL_MANAGER_PITCHYAW = 1_000
MAV_CMD_DO_GIMBAL_MANAGER_CONFIGURE = 1_001
MAV_CMD_IMAGE_START_CAPTURE = 2_000
MAV_CMD_IMAGE_STOP_CAPTURE = 2_001
MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE = 2_002
MAV_CMD_DO_TRIGGER_CONTROL = 2_003
MAV_CMD_CAMERA_TRACK_POINT = 2_004
MAV_CMD_CAMERA_TRACK_RECTANGLE = 2_005
MAV_CMD_CAMERA_STOP_TRACKING = 2_010
MAV_CMD_VIDEO_START_CAPTURE = 2_500
MAV_CMD_VIDEO_STOP_CAPTURE = 2_501
MAV_CMD_VIDEO_START_STREAMING = 2_502
MAV_CMD_VIDEO_STOP_STREAMING = 2_503
MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION = 2_504
MAV_CMD_REQUEST_VIDEO_STREAM_STATUS = 2_505
MAV_CMD_LOGGING_START = 2_510
MAV_CMD_LOGGING_STOP = 2_511
MAV_CMD_AIRFRAME_CONFIGURATION = 2_520
MAV_CMD_CONTROL_HIGH_LATENCY = 2_600
MAV_CMD_PANORAMA_CREATE = 2_800
MAV_CMD_DO_VTOL_TRANSITION = 3_000
MAV_CMD_ARM_AUTHORIZATION_REQUEST = 3_001
MAV_CMD_SET_GUIDED_SUBMODE_STANDARD = 4_000
MAV_CMD_SET_GUIDED_SUBMODE_CIRCLE = 4_001
MAV_CMD_CONDITION_GATE = 4_501
MAV_CMD_NAV_FENCE_RETURN_POINT = 5_000
MAV_CMD_NAV_FENCE_POLYGON_VERTEX_INCLUSION = 5_001
MAV_CMD_NAV_FENCE_POLYGON_VERTEX_EXCLUSION = 5_002
MAV_CMD_NAV_FENCE_CIRCLE_INCLUSION = 5_003
MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION = 5_004
MAV_CMD_NAV_RALLY_POINT = 5_100
MAV_CMD_UAVCAN_GET_NODE_INFO = 5_200
MAV_CMD_DO_ADSB_OUT_IDENT = 10_001
MAV_CMD_PAYLOAD_PREPARE_DEPLOY = 30_001
MAV_CMD_PAYLOAD_CONTROL_DEPLOY = 30_002
MAV_CMD_FIXED_MAG_CAL_YAW = 42_006
MAV_CMD_DO_WINCH = 42_600
MAV_CMD_WAYPOINT_USER_1 = 31_000
MAV_CMD_WAYPOINT_USER_2 = 31_001
MAV_CMD_WAYPOINT_USER_3 = 31_002
MAV_CMD_WAYPOINT_USER_4 = 31_003
MAV_CMD_WAYPOINT_USER_5 = 31_004
MAV_CMD_SPATIAL_USER_1 = 31_005
MAV_CMD_SPATIAL_USER_2 = 31_006
MAV_CMD_SPATIAL_USER_3 = 31_007
MAV_CMD_SPATIAL_USER_4 = 31_008
MAV_CMD_SPATIAL_USER_5 = 31_009
MAV_CMD_USER_1 = 31_010
MAV_CMD_USER_2 = 31_011
MAV_CMD_USER_3 = 31_012
MAV_CMD_USER_4 = 31_013
MAV_CMD_USER_5 = 31_014
MAV_CMD_CAN_FORWARD = 32_000
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for MavCmd
impl<'de> Deserialize<'de> for MavCmd
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 FromPrimitive for MavCmd
impl FromPrimitive for MavCmd
source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moresource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moresource§impl PartialEq for MavCmd
impl PartialEq for MavCmd
source§impl ToPrimitive for MavCmd
impl ToPrimitive for MavCmd
source§fn to_i64(&self) -> Option<i64>
fn to_i64(&self) -> Option<i64>
Converts the value of
self
to an i64
. If the value cannot be
represented by an i64
, then None
is returned.source§fn to_u64(&self) -> Option<u64>
fn to_u64(&self) -> Option<u64>
Converts the value of
self
to a u64
. If the value cannot be
represented by a u64
, then None
is returned.source§fn to_isize(&self) -> Option<isize>
fn to_isize(&self) -> Option<isize>
Converts the value of
self
to an isize
. If the value cannot be
represented by an isize
, then None
is returned.source§fn to_i8(&self) -> Option<i8>
fn to_i8(&self) -> Option<i8>
Converts the value of
self
to an i8
. If the value cannot be
represented by an i8
, then None
is returned.source§fn to_i16(&self) -> Option<i16>
fn to_i16(&self) -> Option<i16>
Converts the value of
self
to an i16
. If the value cannot be
represented by an i16
, then None
is returned.source§fn to_i32(&self) -> Option<i32>
fn to_i32(&self) -> Option<i32>
Converts the value of
self
to an i32
. If the value cannot be
represented by an i32
, then None
is returned.source§fn to_i128(&self) -> Option<i128>
fn to_i128(&self) -> Option<i128>
Converts the value of
self
to an i128
. If the value cannot be
represented by an i128
(i64
under the default implementation), then
None
is returned. Read moresource§fn to_usize(&self) -> Option<usize>
fn to_usize(&self) -> Option<usize>
Converts the value of
self
to a usize
. If the value cannot be
represented by a usize
, then None
is returned.source§fn to_u8(&self) -> Option<u8>
fn to_u8(&self) -> Option<u8>
Converts the value of
self
to a u8
. If the value cannot be
represented by a u8
, then None
is returned.source§fn to_u16(&self) -> Option<u16>
fn to_u16(&self) -> Option<u16>
Converts the value of
self
to a u16
. If the value cannot be
represented by a u16
, then None
is returned.source§fn to_u32(&self) -> Option<u32>
fn to_u32(&self) -> Option<u32>
Converts the value of
self
to a u32
. If the value cannot be
represented by a u32
, then None
is returned.source§fn to_u128(&self) -> Option<u128>
fn to_u128(&self) -> Option<u128>
Converts the value of
self
to a u128
. If the value cannot be
represented by a u128
(u64
under the default implementation), then
None
is returned. Read moreimpl Copy for MavCmd
impl StructuralPartialEq for MavCmd
Auto Trait Implementations§
impl Freeze for MavCmd
impl RefUnwindSafe for MavCmd
impl Send for MavCmd
impl Sync for MavCmd
impl Unpin for MavCmd
impl UnwindSafe for MavCmd
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)