Struct oort_api::prelude::ScanResult
source · pub struct ScanResult {
pub class: Class,
pub position: Vec2,
pub velocity: Vec2,
pub rssi: f64,
pub snr: f64,
}Expand description
A radar contact.
Fields§
§class: ClassThe contact’s class.
position: Vec2The contact’s approximate position.
velocity: Vec2The contact’s approximate velocity.
rssi: f64The received signal strength measured in dBm.
snr: f64The signal-to-noise ratio measured in dB.
Trait Implementations§
source§impl Clone for ScanResult
impl Clone for ScanResult
source§fn clone(&self) -> ScanResult
fn clone(&self) -> ScanResult
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for ScanResult
impl Send for ScanResult
impl Sync for ScanResult
impl Unpin for ScanResult
impl UnwindSafe for ScanResult
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