#[repr(i32)]pub enum DemandType {
Neutral = 0,
AuxPID = 1,
ArbitraryFeedForward = 2,
}Expand description
How to interpret a demand value.
Variants§
Neutral = 0
Ignore the demand value and apply neutral/no-change.
AuxPID = 1
When closed-looping, set the target of the aux PID loop to the demand value.
When following, follow the processed output of the combined primary/aux PID output. The demand value is ignored.
ArbitraryFeedForward = 2
Simply add to the output
Trait Implementations§
Source§impl Clone for DemandType
impl Clone for DemandType
Source§fn clone(&self) -> DemandType
fn clone(&self) -> DemandType
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 DemandType
impl Debug for DemandType
Source§impl Default for DemandType
impl Default for DemandType
Source§fn default() -> DemandType
fn default() -> DemandType
Returns the “default value” for a type. Read more
Source§impl Hash for DemandType
impl Hash for DemandType
Source§impl PartialEq for DemandType
impl PartialEq for DemandType
impl Copy for DemandType
impl Eq for DemandType
impl StructuralPartialEq for DemandType
Auto Trait Implementations§
impl Freeze for DemandType
impl RefUnwindSafe for DemandType
impl Send for DemandType
impl Sync for DemandType
impl Unpin for DemandType
impl UnwindSafe for DemandType
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