pub struct PrimaryControl {
pub header: Header,
pub active: bool,
pub estop: bool,
pub steering_command: f32,
pub throttle_command: f32,
pub brake_command: f32,
}Fields§
§header: Header§active: bool§estop: bool§steering_command: f32§throttle_command: f32§brake_command: f32Trait Implementations§
Source§impl Clone for PrimaryControl
impl Clone for PrimaryControl
Source§fn clone(&self) -> PrimaryControl
fn clone(&self) -> PrimaryControl
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 PrimaryControl
impl Debug for PrimaryControl
Source§impl Default for PrimaryControl
impl Default for PrimaryControl
Source§impl<'de> Deserialize<'de> for PrimaryControl
impl<'de> Deserialize<'de> for PrimaryControl
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 PartialEq for PrimaryControl
impl PartialEq for PrimaryControl
Source§impl Serialize for PrimaryControl
impl Serialize for PrimaryControl
impl Message for PrimaryControl
impl StructuralPartialEq for PrimaryControl
Auto Trait Implementations§
impl Freeze for PrimaryControl
impl RefUnwindSafe for PrimaryControl
impl Send for PrimaryControl
impl Sync for PrimaryControl
impl Unpin for PrimaryControl
impl UnwindSafe for PrimaryControl
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