pub struct Radar {
pub pos: Point2,
pub radius: f32,
}
Expand description
Radar point on the map.
Fields§
§pos: Point2
Position where radar is.
radius: f32
Radius covered by radar (Pretty sure it’s 12
).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Radar
impl RefUnwindSafe for Radar
impl Send for Radar
impl Sync for Radar
impl Unpin for Radar
impl UnwindSafe for Radar
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