pub struct StickyFaults(/* private fields */);Implementations§
Source§impl StickyFaults
impl StickyFaults
pub fn under_voltage(self) -> bool
pub fn forward_limit_switch(self) -> bool
pub fn reverse_limit_switch(self) -> bool
pub fn forward_soft_limit(self) -> bool
pub fn reverse_soft_limit(self) -> bool
pub fn reset_during_en(self) -> bool
pub fn sensor_overflow(self) -> bool
pub fn sensor_out_of_phase(self) -> bool
pub fn hardware_esd_reset(self) -> bool
pub fn remote_loss_of_signal(self) -> bool
Sourcepub fn has_any_fault(self) -> bool
pub fn has_any_fault(self) -> bool
True iff any of the above flags are true.
Trait Implementations§
Source§impl Clone for StickyFaults
impl Clone for StickyFaults
Source§fn clone(&self) -> StickyFaults
fn clone(&self) -> StickyFaults
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 StickyFaults
impl Debug for StickyFaults
impl Copy for StickyFaults
Auto Trait Implementations§
impl Freeze for StickyFaults
impl RefUnwindSafe for StickyFaults
impl Send for StickyFaults
impl Sync for StickyFaults
impl Unpin for StickyFaults
impl UnwindSafe for StickyFaults
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