pub struct Waypoint {
pub point: Vector3,
pub heading: Heading,
pub label: String,
}Expand description
A point the route runs through, and which way.
Fields§
§point: Vector3§heading: Heading§label: StringWhat the route calls it when it says something about it:
point 2 (clip/extrude(c,end)).
Implementations§
Source§impl Waypoint
impl Waypoint
Sourcepub fn of(
reader: &Reader<'_>,
entity: &Selected,
index: usize,
) -> GeopResult<Self>
pub fn of( reader: &Reader<'_>, entity: &Selected, index: usize, ) -> GeopResult<Self>
The index-th point the route runs through, entity in the part
reader reads — where the part it is of is placed there (see the
module docs): a point, just where it is; a circular edge, its
centre and axis; a coordinate system, its origin and z axis.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Waypoint
impl RefUnwindSafe for Waypoint
impl Send for Waypoint
impl Sync for Waypoint
impl Unpin for Waypoint
impl UnsafeUnpin 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