pub struct Blip {
pub bearing: f64,
pub range: f64,
}Expand description
A contact on a RadarScope.
Fields§
§bearing: f64Bearing in turns: 0 = up, clockwise, wraps.
range: f64Distance from the center, 0..=1 of the radius.
Implementations§
Trait Implementations§
impl Copy for Blip
impl StructuralPartialEq for Blip
Auto Trait Implementations§
impl Freeze for Blip
impl RefUnwindSafe for Blip
impl Send for Blip
impl Sync for Blip
impl Unpin for Blip
impl UnsafeUnpin for Blip
impl UnwindSafe for Blip
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more