pub struct Stats {
pub bytes: usize,
pub model_bytes: usize,
pub latent_bytes: usize,
pub grid_bits: Vec<f64>,
pub ideal_bits: f64,
}Expand description
Encoder statistics.
Fields§
§bytes: usizeTotal stream bytes.
model_bytes: usizeModel (header + nets) bytes.
latent_bytes: usizeLatent payload bytes (lane offsets + words).
grid_bits: Vec<f64>Ideal latent bits per grid under the quantized tables.
ideal_bits: f64Ideal latent bits under the quantized tables (no lane overhead).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnsafeUnpin for Stats
impl UnwindSafe for Stats
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