pub struct SceneStatistics { /* private fields */ }Expand description
Construction and conservative rendering work accumulated by a scene.
Implementations§
Source§impl SceneStatistics
impl SceneStatistics
Sourcepub const fn requested_commands(self) -> usize
pub const fn requested_commands(self) -> usize
Returns all insertion attempts, including invalid and over-budget work.
Sourcepub const fn accepted_commands(self) -> usize
pub const fn accepted_commands(self) -> usize
Returns commands currently retained by the scene.
Sourcepub const fn rejected_commands(self) -> usize
pub const fn rejected_commands(self) -> usize
Returns insertion attempts rejected by validation, budget, or allocation.
Sourcepub const fn requested_by_primitive(self) -> PrimitiveCommandCounts
pub const fn requested_by_primitive(self) -> PrimitiveCommandCounts
Returns insertion attempts grouped by primitive category.
Sourcepub const fn accepted_by_primitive(self) -> PrimitiveCommandCounts
pub const fn accepted_by_primitive(self) -> PrimitiveCommandCounts
Returns currently retained commands grouped by primitive category.
Sourcepub const fn rejected_by_primitive(self) -> PrimitiveCommandCounts
pub const fn rejected_by_primitive(self) -> PrimitiveCommandCounts
Returns rejected insertion attempts grouped by primitive category.
Sourcepub const fn retained_points(self) -> usize
pub const fn retained_points(self) -> usize
Returns points retained by accepted polyline commands.
Sourcepub const fn estimated_tessellated_vertices(self) -> usize
pub const fn estimated_tessellated_vertices(self) -> usize
Returns the conservative upper bound for tessellated vertices.
Sourcepub const fn retained_bytes(self) -> usize
pub const fn retained_bytes(self) -> usize
Returns tracked command and owned polyline payload bytes.
Sourcepub const fn estimated_upload_bytes(self) -> usize
pub const fn estimated_upload_bytes(self) -> usize
Returns estimated bytes uploaded for generated vertices.
Sourcepub const fn estimated_draw_batches(self) -> usize
pub const fn estimated_draw_batches(self) -> usize
Returns the conservative draw-batch upper bound.
Trait Implementations§
Source§impl Clone for SceneStatistics
impl Clone for SceneStatistics
Source§fn clone(&self) -> SceneStatistics
fn clone(&self) -> SceneStatistics
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 moreimpl Copy for SceneStatistics
Source§impl Debug for SceneStatistics
impl Debug for SceneStatistics
Source§impl Default for SceneStatistics
impl Default for SceneStatistics
Source§fn default() -> SceneStatistics
fn default() -> SceneStatistics
Returns the “default value” for a type. Read more
impl Eq for SceneStatistics
Source§impl PartialEq for SceneStatistics
impl PartialEq for SceneStatistics
impl StructuralPartialEq for SceneStatistics
Auto Trait Implementations§
impl Freeze for SceneStatistics
impl RefUnwindSafe for SceneStatistics
impl Send for SceneStatistics
impl Sync for SceneStatistics
impl Unpin for SceneStatistics
impl UnsafeUnpin for SceneStatistics
impl UnwindSafe for SceneStatistics
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.