#[repr(packed(1))]pub struct V5_DeviceMotorPid {
pub kf: u8,
pub kp: u8,
pub ki: u8,
pub kd: u8,
pub filter: u8,
pub pad1: u8,
pub limit: u16,
pub threshold: u8,
pub loopspeed: u8,
pub pad2: [u8; 2],
}
Fields§
§kf: u8
§kp: u8
§ki: u8
§kd: u8
§filter: u8
§pad1: u8
§limit: u16
§threshold: u8
§loopspeed: u8
§pad2: [u8; 2]
Trait Implementations§
Source§impl Clone for V5_DeviceMotorPid
impl Clone for V5_DeviceMotorPid
Source§fn clone(&self) -> V5_DeviceMotorPid
fn clone(&self) -> V5_DeviceMotorPid
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 V5_DeviceMotorPid
impl Debug for V5_DeviceMotorPid
Source§impl Default for V5_DeviceMotorPid
impl Default for V5_DeviceMotorPid
Source§fn default() -> V5_DeviceMotorPid
fn default() -> V5_DeviceMotorPid
Returns the “default value” for a type. Read more
Source§impl PartialEq for V5_DeviceMotorPid
impl PartialEq for V5_DeviceMotorPid
impl Copy for V5_DeviceMotorPid
impl Eq for V5_DeviceMotorPid
impl StructuralPartialEq for V5_DeviceMotorPid
Auto Trait Implementations§
impl Freeze for V5_DeviceMotorPid
impl RefUnwindSafe for V5_DeviceMotorPid
impl Send for V5_DeviceMotorPid
impl Sync for V5_DeviceMotorPid
impl Unpin for V5_DeviceMotorPid
impl UnwindSafe for V5_DeviceMotorPid
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