pub struct HitTestStats {
pub hit_tests: u64,
pub hit_test_time_us: u64,
pub nodes_tested: u32,
pub hits_found: u32,
}
Expand description
Performance statistics for hit testing
Fields§
§hit_tests: u64
Number of hit tests performed
hit_test_time_us: u64
Time spent in hit testing (microseconds)
nodes_tested: u32
Number of nodes tested in the last hit test
hits_found: u32
Number of hits found in the last hit test
Trait Implementations§
Source§impl Clone for HitTestStats
impl Clone for HitTestStats
Source§fn clone(&self) -> HitTestStats
fn clone(&self) -> HitTestStats
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 moreSource§impl Debug for HitTestStats
impl Debug for HitTestStats
Source§impl Default for HitTestStats
impl Default for HitTestStats
Source§fn default() -> HitTestStats
fn default() -> HitTestStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HitTestStats
impl RefUnwindSafe for HitTestStats
impl Send for HitTestStats
impl Sync for HitTestStats
impl Unpin for HitTestStats
impl UnwindSafe for HitTestStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Event for T
impl<T> Event for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to Any for downcasting (mutable)
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Get the event type name
Source§impl<T> Props for T
impl<T> Props for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to mutable Any for downcasting