pub struct Waypoint {
pub id: i32,
pub x_mm: f64,
pub y_mm: f64,
pub z_mm: f64,
pub orientation_deg: f64,
pub rail_position_mm: Option<f64>,
}Expand description
Cartesian coordinates for a waypoint including optional rail position
Fields§
§id: i32§x_mm: f64§y_mm: f64§z_mm: f64§orientation_deg: f64§rail_position_mm: Option<f64>Implementations§
Trait Implementations§
impl StructuralPartialEq for Waypoint
Auto Trait Implementations§
impl Freeze for Waypoint
impl RefUnwindSafe for Waypoint
impl Send for Waypoint
impl Sync for Waypoint
impl Unpin for Waypoint
impl UnwindSafe for Waypoint
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