pub struct SceneStats {
pub prim_store_stats: PrimitiveStoreStats,
pub hit_test_stats: HitTestingSceneStats,
}Expand description
Stores the allocation sizes of various arrays in the built scene. This is retrieved from the current frame builder and used to reserve an approximately correct capacity of the arrays for the next scene that is getting built.
Fields§
§prim_store_stats: PrimitiveStoreStats§hit_test_stats: HitTestingSceneStatsImplementations§
Source§impl SceneStats
impl SceneStats
Auto Trait Implementations§
impl Freeze for SceneStats
impl RefUnwindSafe for SceneStats
impl Send for SceneStats
impl Sync for SceneStats
impl Unpin for SceneStats
impl UnwindSafe for SceneStats
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more