pub struct PICtrlProps {
pub setpoint: f32,
pub p_gain: f32,
pub i_gain: f32,
pub slope: PISlope,
}Expand description
PI Controller properties.
Fields§
§setpoint: f32Setpoint value
p_gain: f32Proportional gain
i_gain: f32Integral gain
slope: PISlopeSlope direction
Trait Implementations§
Source§impl Clone for PICtrlProps
impl Clone for PICtrlProps
Source§fn clone(&self) -> PICtrlProps
fn clone(&self) -> PICtrlProps
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 PICtrlProps
impl Debug for PICtrlProps
Source§impl Default for PICtrlProps
impl Default for PICtrlProps
Source§fn default() -> PICtrlProps
fn default() -> PICtrlProps
Returns the “default value” for a type. Read more
impl Copy for PICtrlProps
Auto Trait Implementations§
impl Freeze for PICtrlProps
impl RefUnwindSafe for PICtrlProps
impl Send for PICtrlProps
impl Sync for PICtrlProps
impl Unpin for PICtrlProps
impl UnwindSafe for PICtrlProps
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