pub struct TargetView {
pub target: TargetId,
pub status: TrackStatus,
pub position: Position,
pub motion: Option<GroundTrack>,
pub heading: Option<TrueCourse>,
pub age: Duration,
pub stale: bool,
}Expand description
One target in the view.
Fields§
§target: TargetIdTarget.
status: TrackStatusWhether acquired.
position: PositionExtrapolated current position.
motion: Option<GroundTrack>Course and speed over ground, if known.
heading: Option<TrueCourse>Reported heading, if any.
age: DurationTime since the last observation.
stale: boolWhether older than the stale timeout.
Trait Implementations§
Source§impl Clone for TargetView
impl Clone for TargetView
impl Copy for TargetView
Source§impl Debug for TargetView
impl Debug for TargetView
Source§impl PartialEq for TargetView
impl PartialEq for TargetView
impl StructuralPartialEq for TargetView
Auto Trait Implementations§
impl Freeze for TargetView
impl RefUnwindSafe for TargetView
impl Send for TargetView
impl Sync for TargetView
impl Unpin for TargetView
impl UnsafeUnpin for TargetView
impl UnwindSafe for TargetView
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