pub struct LanePositionResult {
pub lane_position: LanePosition,
pub nearest_position: InertialPosition,
pub distance: f64,
}
Expand description
Represents the result of a LanePosition query.
Fields§
§lane_position: LanePosition
§nearest_position: InertialPosition
§distance: f64
Implementations§
Source§impl LanePositionResult
impl LanePositionResult
Sourcepub fn new(
lane_position: LanePosition,
nearest_position: InertialPosition,
distance: f64,
) -> LanePositionResult
pub fn new( lane_position: LanePosition, nearest_position: InertialPosition, distance: f64, ) -> LanePositionResult
Create a new LanePositionResult
with the given lane_position
, nearest_position
, and distance
.
Auto Trait Implementations§
impl Freeze for LanePositionResult
impl RefUnwindSafe for LanePositionResult
impl !Send for LanePositionResult
impl !Sync for LanePositionResult
impl Unpin for LanePositionResult
impl UnwindSafe for LanePositionResult
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