Struct eframe::IntegrationInfo
source · pub struct IntegrationInfo {
pub web_info: WebInfo,
pub system_theme: Option<Theme>,
pub cpu_usage: Option<f32>,
pub native_pixels_per_point: Option<f32>,
}Expand description
Information about the integration passed to the use app each frame.
Fields§
§web_info: WebInfoInformation about the surrounding web environment.
system_theme: Option<Theme>Does the OS use dark or light mode?
None means “don’t know”.
cpu_usage: Option<f32>Seconds of cpu usage (in seconds) of UI code on the previous frame.
None if this is the first frame.
native_pixels_per_point: Option<f32>The OS native pixels-per-point
Trait Implementations§
source§impl Clone for IntegrationInfo
impl Clone for IntegrationInfo
source§fn clone(&self) -> IntegrationInfo
fn clone(&self) -> IntegrationInfo
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 more