pub struct LanePosition { /* private fields */ }
Expand description
A Lane Position.
Wrapper around C++ implementation maliput::api::LanePosition
.
§Example
use maliput::api::LanePosition;
let lane_pos = LanePosition::new(1.0, 2.0, 3.0);
println!("lane_pos = {}", lane_pos);
assert_eq!(lane_pos.s(), 1.0);
assert_eq!(lane_pos.r(), 2.0);
assert_eq!(lane_pos.h(), 3.0);
Implementations§
Source§impl LanePosition
impl LanePosition
Trait Implementations§
Source§impl Debug for LanePosition
impl Debug for LanePosition
Source§impl Display for LanePosition
impl Display for LanePosition
Source§impl PartialEq for LanePosition
impl PartialEq for LanePosition
impl Eq for LanePosition
Auto Trait Implementations§
impl Freeze for LanePosition
impl RefUnwindSafe for LanePosition
impl !Send for LanePosition
impl !Sync for LanePosition
impl Unpin for LanePosition
impl UnwindSafe for LanePosition
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