pub enum LaneEnd<'a> {
Start(Lane<'a>),
Finish(Lane<'a>),
}
Expand description
A specific endpoint of a specific Lane. This is analogous to the C++ maliput::api::LaneEnd implementation.
Variants§
Start(Lane<'a>)
The start of the Lane. (“s == 0”)
Finish(Lane<'a>)
The end of the Lane. (“s == length”)
Implementations§
Trait Implementations§
impl Eq for LaneEnd<'_>
Auto Trait Implementations§
impl<'a> Freeze for LaneEnd<'a>
impl<'a> RefUnwindSafe for LaneEnd<'a>
impl<'a> !Send for LaneEnd<'a>
impl<'a> !Sync for LaneEnd<'a>
impl<'a> Unpin for LaneEnd<'a>
impl<'a> UnwindSafe for LaneEnd<'a>
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