pub struct IntegrationInfo {
pub web_info: WebInfo,
pub cpu_usage: Option<f32>,
}
Expand description
Information about the integration passed to the use app each frame.
Fields§
§web_info: WebInfo
Information about the surrounding web environment.
cpu_usage: Option<f32>
Seconds of cpu usage (in seconds) on the previous frame.
This includes App::update
as well as rendering (except for vsync waiting).
For a more detailed view of cpu usage, connect your preferred profiler by enabling it’s feature in profiling
.
None
if this is the first frame.
Trait Implementations§
Source§impl Clone for IntegrationInfo
impl Clone for IntegrationInfo
Source§fn clone(&self) -> IntegrationInfo
fn clone(&self) -> IntegrationInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for IntegrationInfo
impl RefUnwindSafe for IntegrationInfo
impl Send for IntegrationInfo
impl Sync for IntegrationInfo
impl Unpin for IntegrationInfo
impl UnwindSafe for IntegrationInfo
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