DeviceType

Trait DeviceType 

Source
pub trait DeviceType: Sealed {
    // Required method
    fn datapoints() -> &'static [(u16, f32)];
}
Expand description

Marker trait for FS3000 device types (1005 vs 1015).

Required Methods§

Source

fn datapoints() -> &'static [(u16, f32)]

A series of datapoints to translate from the raw measurement (12-bit integer) to meters per second (f32).

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§