pub struct MemoryQualityView {
pub raw_equivalent_tokens: u32,
pub compression_ratio: f64,
pub causal_density: f64,
pub noise_ratio: f64,
pub detail_coverage: f64,
}Expand description
How well the rendering served its budget.
The kernel’s own account of the trade it made: how much raw memory the
rendering stands in for, and what was kept against what was let go. Ratios
are f64, which is why this view — and everything holding it — is
PartialEq and not Eq.
Fields§
§raw_equivalent_tokens: u32Tokens the un-rendered memory would have cost.
compression_ratio: f64§causal_density: f64§noise_ratio: f64§detail_coverage: f64Trait Implementations§
Source§impl Clone for MemoryQualityView
impl Clone for MemoryQualityView
Source§fn clone(&self) -> MemoryQualityView
fn clone(&self) -> MemoryQualityView
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 moreSource§impl Debug for MemoryQualityView
impl Debug for MemoryQualityView
Source§impl<'de> Deserialize<'de> for MemoryQualityView
impl<'de> Deserialize<'de> for MemoryQualityView
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 PartialEq for MemoryQualityView
impl PartialEq for MemoryQualityView
Source§impl Serialize for MemoryQualityView
impl Serialize for MemoryQualityView
impl StructuralPartialEq for MemoryQualityView
Auto Trait Implementations§
impl Freeze for MemoryQualityView
impl RefUnwindSafe for MemoryQualityView
impl Send for MemoryQualityView
impl Sync for MemoryQualityView
impl Unpin for MemoryQualityView
impl UnsafeUnpin for MemoryQualityView
impl UnwindSafe for MemoryQualityView
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