Expand description
This struct is filled/provided by the ItemRenderer to return collected metrics during the rendering of the scene.
Fields
layers_created: Option<usize>
The number of layers that were created. None if the renderer does not create layers.
Trait Implementations
sourceimpl Clone for RenderingMetrics
impl Clone for RenderingMetrics
sourcefn clone(&self) -> RenderingMetrics
fn clone(&self) -> RenderingMetrics
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for RenderingMetrics
impl Default for RenderingMetrics
sourcefn default() -> RenderingMetrics
fn default() -> RenderingMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for RenderingMetrics
impl Send for RenderingMetrics
impl Sync for RenderingMetrics
impl Unpin for RenderingMetrics
impl UnwindSafe for RenderingMetrics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more