pub struct DeviceTelemetrySnapshot {Show 17 fields
pub battery: BatteryInfo,
pub thermal: ThermalState,
pub network: NetworkStatus,
pub screen: ScreenGeometry,
pub display_refresh: DisplayRefreshInfo,
pub gpu: GpuInfo,
pub geolocation: GeolocationInfo,
pub compass: CompassReading,
pub imu: ImuReading,
pub barometer: BarometerReading,
pub ambient_light: AmbientLightReading,
pub proximity: ProximityReading,
pub hinge_angle: HingeAngleReading,
pub radio_signal: RadioSignalReading,
pub ambient_spl: AmbientSplReading,
pub pedometer: PedometerReading,
pub heart_rate: HeartRateReading,
}Expand description
Snapshot of simulated hardware telemetry and sensors.
Fields§
§battery: BatteryInfo§thermal: ThermalState§network: NetworkStatus§screen: ScreenGeometry§display_refresh: DisplayRefreshInfo§gpu: GpuInfo§geolocation: GeolocationInfo§compass: CompassReading§imu: ImuReading§barometer: BarometerReading§ambient_light: AmbientLightReading§proximity: ProximityReading§hinge_angle: HingeAngleReading§radio_signal: RadioSignalReading§ambient_spl: AmbientSplReading§pedometer: PedometerReading§heart_rate: HeartRateReadingTrait Implementations§
Source§impl Clone for DeviceTelemetrySnapshot
impl Clone for DeviceTelemetrySnapshot
Source§impl Debug for DeviceTelemetrySnapshot
impl Debug for DeviceTelemetrySnapshot
Source§impl Default for DeviceTelemetrySnapshot
impl Default for DeviceTelemetrySnapshot
Source§impl PartialEq for DeviceTelemetrySnapshot
impl PartialEq for DeviceTelemetrySnapshot
impl StructuralPartialEq for DeviceTelemetrySnapshot
Auto Trait Implementations§
impl Forget for DeviceTelemetrySnapshot
impl Freeze for DeviceTelemetrySnapshot
impl Move for DeviceTelemetrySnapshot
impl RefUnwindSafe for DeviceTelemetrySnapshot
impl Send for DeviceTelemetrySnapshot
impl Sync for DeviceTelemetrySnapshot
impl Unpin for DeviceTelemetrySnapshot
impl UnsafeUnpin for DeviceTelemetrySnapshot
impl UnwindSafe for DeviceTelemetrySnapshot
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