pub struct ControlLoopUpdate {
pub proportional: Option<Decimal>,
pub integral: Option<Decimal>,
pub differential: Option<Decimal>,
}Expand description
Update struct corresponding to ControlLoop
Fields§
§proportional: Option<Decimal>§integral: Option<Decimal>§differential: Option<Decimal>Implementations§
Source§impl ControlLoopUpdate
impl ControlLoopUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_proportional(self, v: Decimal) -> Self
pub fn with_integral(self, v: Decimal) -> Self
pub fn with_differential(self, v: Decimal) -> Self
Trait Implementations§
Source§impl Debug for ControlLoopUpdate
impl Debug for ControlLoopUpdate
Source§impl Default for ControlLoopUpdate
impl Default for ControlLoopUpdate
Source§fn default() -> ControlLoopUpdate
fn default() -> ControlLoopUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ControlLoopUpdate
impl RefUnwindSafe for ControlLoopUpdate
impl Send for ControlLoopUpdate
impl Sync for ControlLoopUpdate
impl Unpin for ControlLoopUpdate
impl UnsafeUnpin for ControlLoopUpdate
impl UnwindSafe for ControlLoopUpdate
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