pub struct StreamBufferStats {
pub tile_count: usize,
pub current_size: usize,
pub max_size: usize,
pub utilization: f64,
}Expand description
Stream buffer statistics
Fields§
§tile_count: usizeNumber of tiles in buffer
current_size: usizeCurrent buffer size in bytes
max_size: usizeMaximum buffer size in bytes
utilization: f64Buffer utilization (0.0 to 1.0)
Trait Implementations§
Source§impl Clone for StreamBufferStats
impl Clone for StreamBufferStats
Source§fn clone(&self) -> StreamBufferStats
fn clone(&self) -> StreamBufferStats
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 StreamBufferStats
impl Debug for StreamBufferStats
Source§impl<'de> Deserialize<'de> for StreamBufferStats
impl<'de> Deserialize<'de> for StreamBufferStats
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 Serialize for StreamBufferStats
impl Serialize for StreamBufferStats
impl Copy for StreamBufferStats
Auto Trait Implementations§
impl Freeze for StreamBufferStats
impl RefUnwindSafe for StreamBufferStats
impl Send for StreamBufferStats
impl Sync for StreamBufferStats
impl Unpin for StreamBufferStats
impl UnsafeUnpin for StreamBufferStats
impl UnwindSafe for StreamBufferStats
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