pub struct Backlash<T>where
T: Default,{ /* private fields */ }Expand description
Backlash processor.
Implementations§
Source§impl<T> Backlash<T>
impl<T> Backlash<T>
Sourcepub fn set_deadband_width(&mut self, deadband_width: T)
pub fn set_deadband_width(&mut self, deadband_width: T)
Sets a new deadband width and centers the borders around the last output value.
Sourcepub fn deadband_width(&self) -> T
pub fn deadband_width(&self) -> T
Returns the deadband width.
Sourcepub fn center_borders(&mut self, value: T)
pub fn center_borders(&mut self, value: T)
Center the deadband borders around a specific value.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Backlash<T>where
T: Freeze,
impl<T> RefUnwindSafe for Backlash<T>where
T: RefUnwindSafe,
impl<T> Send for Backlash<T>where
T: Send,
impl<T> Sync for Backlash<T>where
T: Sync,
impl<T> Unpin for Backlash<T>where
T: Unpin,
impl<T> UnwindSafe for Backlash<T>where
T: UnwindSafe,
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