[−][src]Struct wasmdome_mech_sdk::RadarPing
A single result from a radar scan. When a mech queries for the last radar scan and one is available, those results will be a vector of these radar pings
Fields
id: String
A unique identifier for this target. This is an opaque string and you should assign no internal meaning to it other than to distinguish one target from another
foe: bool
Indicates if the discovered target is a friend or foe
location: Point
The location from which the radar response originated
distance: usize
A rounded, whole number indicating the distance to the discovered target
Auto Trait Implementations
impl RefUnwindSafe for RadarPing
impl Send for RadarPing
impl Sync for RadarPing
impl Unpin for RadarPing
impl UnwindSafe for RadarPing
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,