pub struct HitStorage {
pub hits_len: usize,
pub hits_capacity: usize,
pub node_index_len: usize,
pub node_index_capacity: usize,
}Expand description
How many hit targets a Scene holds and has room for, and the same for
its index of them by node, for debugging memory use.
Fields§
§hits_len: usizeHit targets held.
hits_capacity: usizeRoom reserved for hit targets.
node_index_len: usizeNodes indexed.
node_index_capacity: usizeRoom reserved in the node index.
Trait Implementations§
Source§impl Clone for HitStorage
impl Clone for HitStorage
impl Copy for HitStorage
Source§impl Debug for HitStorage
impl Debug for HitStorage
Source§impl Default for HitStorage
impl Default for HitStorage
impl Eq for HitStorage
Source§impl PartialEq for HitStorage
impl PartialEq for HitStorage
impl StructuralPartialEq for HitStorage
Auto Trait Implementations§
impl Freeze for HitStorage
impl RefUnwindSafe for HitStorage
impl Send for HitStorage
impl Sync for HitStorage
impl Unpin for HitStorage
impl UnsafeUnpin for HitStorage
impl UnwindSafe for HitStorage
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