pub struct LaneTransition {
pub from: PrecisionLane,
pub to: PrecisionLane,
pub reason: TransitionReason,
pub timestamp_secs: f64,
}Expand description
Record of a lane transition
Fields§
§from: PrecisionLaneSource lane
to: PrecisionLaneDestination lane
reason: TransitionReasonReason for transition
timestamp_secs: f64Timestamp (seconds since session start)
Trait Implementations§
Source§impl Clone for LaneTransition
impl Clone for LaneTransition
Source§fn clone(&self) -> LaneTransition
fn clone(&self) -> LaneTransition
Returns a duplicate of the value. Read more
1.0.0 · 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 LaneTransition
impl Debug for LaneTransition
Source§impl<'de> Deserialize<'de> for LaneTransition
impl<'de> Deserialize<'de> for LaneTransition
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
Auto Trait Implementations§
impl Freeze for LaneTransition
impl RefUnwindSafe for LaneTransition
impl Send for LaneTransition
impl Sync for LaneTransition
impl Unpin for LaneTransition
impl UnwindSafe for LaneTransition
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