#[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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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)