pub struct QuantizeStats {
pub position_error_rms: f32,
pub normal_error_rms: f32,
pub uv_error_rms: f32,
pub compression_ratio: f32,
}Expand description
Error metrics comparing the original float mesh with the quantized version.
Fields§
§position_error_rms: f32§normal_error_rms: f32§uv_error_rms: f32§compression_ratio: f32original_bytes / quantized_bytes — values > 1 mean compression.
Trait Implementations§
Source§impl Clone for QuantizeStats
impl Clone for QuantizeStats
Source§fn clone(&self) -> QuantizeStats
fn clone(&self) -> QuantizeStats
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 moreAuto Trait Implementations§
impl Freeze for QuantizeStats
impl RefUnwindSafe for QuantizeStats
impl Send for QuantizeStats
impl Sync for QuantizeStats
impl Unpin for QuantizeStats
impl UnsafeUnpin for QuantizeStats
impl UnwindSafe for QuantizeStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more