pub struct AxisInfo {
pub id: &'static str,
pub key: &'static str,
pub unit: &'static str,
pub min: f64,
pub max: f64,
pub max_vel: f64,
pub max_acc: f64,
pub max_jerk: f64,
}Expand description
A tool-side axis. key is a translation key, id is used in signal ids and config paths.
Fields§
§id: &'static str§key: &'static str§unit: &'static str§min: f64§max: f64§max_vel: f64§max_acc: f64§max_jerk: f64Trait Implementations§
Auto Trait Implementations§
impl Freeze for AxisInfo
impl RefUnwindSafe for AxisInfo
impl Send for AxisInfo
impl Sync for AxisInfo
impl Unpin for AxisInfo
impl UnsafeUnpin for AxisInfo
impl UnwindSafe for AxisInfo
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