pub struct DeviceTelemetrySnapshot {
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,
}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: AmbientLightReadingTrait 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