pub struct DevOptions {
pub fps_counter: bool,
pub recomposition_counter: bool,
pub layout_timing: bool,
}Expand description
Development options for debugging and performance monitoring.
These are rendered directly by the renderer (not via composition) to avoid affecting performance measurements.
Fields§
§fps_counter: boolShow FPS counter overlay
recomposition_counter: boolShow recomposition count
layout_timing: boolShow layout timing breakdown
Trait Implementations§
Source§impl Clone for DevOptions
impl Clone for DevOptions
Source§fn clone(&self) -> DevOptions
fn clone(&self) -> DevOptions
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 DevOptions
impl Debug for DevOptions
Source§impl Default for DevOptions
impl Default for DevOptions
Source§fn default() -> DevOptions
fn default() -> DevOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DevOptions
impl RefUnwindSafe for DevOptions
impl Send for DevOptions
impl Sync for DevOptions
impl Unpin for DevOptions
impl UnwindSafe for DevOptions
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