Struct rplidar_drv::ScanMode
source · pub struct ScanMode {
pub id: u16,
pub us_per_sample: f32,
pub max_distance: f32,
pub ans_type: u8,
pub name: String,
}
Expand description
Description of a specific scan mode
Fields
id: u16
The scan mode id
us_per_sample: f32
Microseconds per measurement sample
max_distance: f32
Max distance of this measurement mode
ans_type: u8
The answer command value of this scan mode (mainly used to decode messages)
name: String
The name of the scan mode
Trait Implementations
impl StructuralPartialEq for ScanMode
Auto Trait Implementations
impl RefUnwindSafe for ScanMode
impl Send for ScanMode
impl Sync for ScanMode
impl Unpin for ScanMode
impl UnwindSafe for ScanMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more