pub struct LaneMarkingQuery {
pub lane_marking: LaneMarking,
pub s_start: f64,
pub s_end: f64,
}Expand description
The result of querying a LaneMarking at a specific position or range. This structure pairs a LaneMarking with the s-range over which it is valid. Lane markings can change along the lane (e.g., solid to broken at an intersection approach), so the validity range is essential.
The range uses half-open interval semantics: [s_start, s_end).
Fields§
§lane_marking: LaneMarkingLaneMarking description.
s_start: f64Start s-coordinate where the marking begins This is relative to the lane’s s-coordinate system..
s_end: f64End s-coordinate where the marking ends. This is relative to the lane’s s-coordinate system.
Auto Trait Implementations§
impl Freeze for LaneMarkingQuery
impl RefUnwindSafe for LaneMarkingQuery
impl !Send for LaneMarkingQuery
impl !Sync for LaneMarkingQuery
impl Unpin for LaneMarkingQuery
impl UnwindSafe for LaneMarkingQuery
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