pub struct PointAlongLine {
pub points: [Point; 2],
pub offset: Offset,
pub orientation: Orientation,
pub side: SideOfRoad,
}Expand description
Point along line is a point location which is defined by a line and an offset value. The line will be referenced by two location reference points and the concrete position on that line is referenced using the positive offset. Additionally information about the side of the road where the point is located and the orientation with respect to the direction of the line can be added.
Fields§
§points: [Point; 2]§offset: Offset§orientation: Orientation§side: SideOfRoadTrait Implementations§
Source§impl Clone for PointAlongLine
impl Clone for PointAlongLine
Source§fn clone(&self) -> PointAlongLine
fn clone(&self) -> PointAlongLine
Returns a duplicate of the value. Read more
1.0.0 · 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 PointAlongLine
impl Debug for PointAlongLine
Source§impl Default for PointAlongLine
impl Default for PointAlongLine
Source§fn default() -> PointAlongLine
fn default() -> PointAlongLine
Returns the “default value” for a type. Read more
Source§impl PartialEq for PointAlongLine
impl PartialEq for PointAlongLine
impl StructuralPartialEq for PointAlongLine
Auto Trait Implementations§
impl Freeze for PointAlongLine
impl RefUnwindSafe for PointAlongLine
impl Send for PointAlongLine
impl Sync for PointAlongLine
impl Unpin for PointAlongLine
impl UnwindSafe for PointAlongLine
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