pub struct LaneGuidance {
pub lane_index: u8,
pub permitted_directions: Vec<TurnDirection>,
pub is_recommended: bool,
}Expand description
Recommended lane(s) for an upcoming maneuver.
Fields§
§lane_index: u8Zero-based lane index across the road cross-section.
permitted_directions: Vec<TurnDirection>Directions this lane can legally lead to.
is_recommended: boolWhether this lane is among the recommended ones.
Trait Implementations§
Source§impl Clone for LaneGuidance
impl Clone for LaneGuidance
Source§fn clone(&self) -> LaneGuidance
fn clone(&self) -> LaneGuidance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LaneGuidance
impl Debug for LaneGuidance
Source§impl<'de> Deserialize<'de> for LaneGuidance
impl<'de> Deserialize<'de> for LaneGuidance
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LaneGuidance
Source§impl Hash for LaneGuidance
impl Hash for LaneGuidance
Source§impl PartialEq for LaneGuidance
impl PartialEq for LaneGuidance
Source§impl Serialize for LaneGuidance
impl Serialize for LaneGuidance
impl StructuralPartialEq for LaneGuidance
Auto Trait Implementations§
impl Freeze for LaneGuidance
impl RefUnwindSafe for LaneGuidance
impl Send for LaneGuidance
impl Sync for LaneGuidance
impl Unpin for LaneGuidance
impl UnsafeUnpin for LaneGuidance
impl UnwindSafe for LaneGuidance
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