pub struct LimitViolation {
pub key: &'static str,
pub motor: usize,
pub needed: f64,
pub allowed: f64,
}Expand description
An axis limit that asks more of a motor than the drive allows; key is a translation key.
Fields§
§key: &'static str§motor: usize§needed: f64§allowed: f64Trait Implementations§
Source§impl Clone for LimitViolation
impl Clone for LimitViolation
Source§fn clone(&self) -> LimitViolation
fn clone(&self) -> LimitViolation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LimitViolation
impl Debug for LimitViolation
Source§impl PartialEq for LimitViolation
impl PartialEq for LimitViolation
Source§fn eq(&self, other: &LimitViolation) -> bool
fn eq(&self, other: &LimitViolation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LimitViolation
Auto Trait Implementations§
impl Freeze for LimitViolation
impl RefUnwindSafe for LimitViolation
impl Send for LimitViolation
impl Sync for LimitViolation
impl Unpin for LimitViolation
impl UnsafeUnpin for LimitViolation
impl UnwindSafe for LimitViolation
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