pub struct FrameBatchingStats {
pub frames_batched: u64,
pub batches_sent: u64,
pub avg_batch_size: f64,
pub bytes_saved: u64,
pub batching_efficiency: f64,
}Expand description
Statistics for frame batching
Fields§
§frames_batched: u64Total frames batched
batches_sent: u64Total batches sent
avg_batch_size: f64Average batch size
bytes_saved: u64Bytes saved through batching
batching_efficiency: f64Batching efficiency (0.0 - 1.0)
Trait Implementations§
Source§impl Clone for FrameBatchingStats
impl Clone for FrameBatchingStats
Source§fn clone(&self) -> FrameBatchingStats
fn clone(&self) -> FrameBatchingStats
Returns a duplicate 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 FrameBatchingStats
impl Debug for FrameBatchingStats
Source§impl Default for FrameBatchingStats
impl Default for FrameBatchingStats
Source§fn default() -> FrameBatchingStats
fn default() -> FrameBatchingStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FrameBatchingStats
impl RefUnwindSafe for FrameBatchingStats
impl Send for FrameBatchingStats
impl Sync for FrameBatchingStats
impl Unpin for FrameBatchingStats
impl UnwindSafe for FrameBatchingStats
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