pub struct ProfileSummary {
pub frame_count: u64,
pub avg_frame_ms: f64,
pub avg_layout_ms: f64,
pub max_frame_ms: f64,
pub total_commits: u32,
}Expand description
Aggregated profiler statistics.
Fields§
§frame_count: u64§avg_frame_ms: f64§avg_layout_ms: f64§max_frame_ms: f64§total_commits: u32Trait Implementations§
Source§impl Clone for ProfileSummary
impl Clone for ProfileSummary
Source§fn clone(&self) -> ProfileSummary
fn clone(&self) -> ProfileSummary
Returns a duplicate 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 moreSource§impl Debug for ProfileSummary
impl Debug for ProfileSummary
Source§impl Default for ProfileSummary
impl Default for ProfileSummary
Source§fn default() -> ProfileSummary
fn default() -> ProfileSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProfileSummary
impl<'de> Deserialize<'de> for ProfileSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProfileSummary
impl RefUnwindSafe for ProfileSummary
impl Send for ProfileSummary
impl Sync for ProfileSummary
impl Unpin for ProfileSummary
impl UnsafeUnpin for ProfileSummary
impl UnwindSafe for ProfileSummary
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