pub struct OctreeQueryStats {
pub nodes_visited: usize,
pub leaf_nodes_scanned: usize,
pub points_tested: usize,
pub points_returned: usize,
}Expand description
Per-query instrumentation for octree lookup complexity analysis.
Fields§
§nodes_visited: usizeNumber of octree nodes visited during traversal.
leaf_nodes_scanned: usizeNumber of leaf octants scanned.
points_tested: usizeNumber of points distance-tested against the query sphere.
points_returned: usizeNumber of points that matched the query predicate.
Trait Implementations§
Source§impl Clone for OctreeQueryStats
impl Clone for OctreeQueryStats
Source§fn clone(&self) -> OctreeQueryStats
fn clone(&self) -> OctreeQueryStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OctreeQueryStats
impl Debug for OctreeQueryStats
Source§impl Default for OctreeQueryStats
impl Default for OctreeQueryStats
Source§fn default() -> OctreeQueryStats
fn default() -> OctreeQueryStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OctreeQueryStats
impl<'de> Deserialize<'de> for OctreeQueryStats
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
Source§impl PartialEq for OctreeQueryStats
impl PartialEq for OctreeQueryStats
Source§fn eq(&self, other: &OctreeQueryStats) -> bool
fn eq(&self, other: &OctreeQueryStats) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OctreeQueryStats
impl Serialize for OctreeQueryStats
impl Copy for OctreeQueryStats
impl Eq for OctreeQueryStats
impl StructuralPartialEq for OctreeQueryStats
Auto Trait Implementations§
impl Freeze for OctreeQueryStats
impl RefUnwindSafe for OctreeQueryStats
impl Send for OctreeQueryStats
impl Sync for OctreeQueryStats
impl Unpin for OctreeQueryStats
impl UnsafeUnpin for OctreeQueryStats
impl UnwindSafe for OctreeQueryStats
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