pub struct Point {
pub x: f32,
pub y: f32,
pub z: f32,
}Expand description
A Point is used to define the origin of the slats.
Fields§
§x: f32§y: f32§z: f32Implementations§
Source§impl Point
impl Point
Sourcepub fn from_hef_part(part: String) -> Self
pub fn from_hef_part(part: String) -> Self
Parse a point from the part of a slat-line in a HEF, which contains the origin.
Sourcepub fn to_hef_part(&self) -> String
pub fn to_hef_part(&self) -> String
Format the point as used in HEF.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Point
impl RefUnwindSafe for Point
impl Send for Point
impl Sync for Point
impl Unpin for Point
impl UnwindSafe for Point
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