pub struct CommandInt {}Expand description
COMMAND_INT: a command in a coordinate frame, with integer-encoded position.
Fields§
§param1: f32§param2: f32§param3: f32§param4: f32§x: i32§y: i32§z: f32§command: u16§target_system: u8§target_component: u8§frame: u8§current: u8§autocontinue: u8Implementations§
Trait Implementations§
Source§impl Clone for CommandInt
impl Clone for CommandInt
Source§fn clone(&self) -> CommandInt
fn clone(&self) -> CommandInt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CommandInt
Source§impl Debug for CommandInt
impl Debug for CommandInt
Source§impl Default for CommandInt
impl Default for CommandInt
Source§impl Message for CommandInt
impl Message for CommandInt
Source§const NAME: &'static str = "COMMAND_INT"
const NAME: &'static str = "COMMAND_INT"
The message name, such as
"HEARTBEAT", as used to derive CRC_EXTRA.Source§const CRC_EXTRA: u8 = 158
const CRC_EXTRA: u8 = 158
The
CRC_EXTRA seed folded into the checksum of a frame carrying this message.Source§const BASE_FIELDS: &'static [(&'static str, &'static str, u8)]
const BASE_FIELDS: &'static [(&'static str, &'static str, u8)]
The base fields in wire order as
(type, name, array_len), the input from which
CRC_EXTRA is derived and against which it is verified.Source§const DESCRIPTOR: &'static MessageDescriptor<'static>
const DESCRIPTOR: &'static MessageDescriptor<'static>
The message’s shape as data: the runtime counterpart of this type’s fields, for a
caller reading and writing by name rather than through the struct.
Source§impl PartialEq for CommandInt
impl PartialEq for CommandInt
Source§fn eq(&self, other: &CommandInt) -> bool
fn eq(&self, other: &CommandInt) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CommandInt
Auto Trait Implementations§
impl Freeze for CommandInt
impl RefUnwindSafe for CommandInt
impl Send for CommandInt
impl Sync for CommandInt
impl Unpin for CommandInt
impl UnsafeUnpin for CommandInt
impl UnwindSafe for CommandInt
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