pub struct QuantizationReport {
pub base_pos_max_error_units: f32,
pub base_pos_max_error_mm: f32,
pub base_uv_max_error: Option<f32>,
pub targets: Vec<TargetErrorReport>,
}Expand description
Aggregate quantisation-honesty report for a whole pack.
Fields§
§base_pos_max_error_units: f32Maximum absolute base-position error (any axis), in model units.
base_pos_max_error_mm: f32The base-position error expressed in millimetres.
base_uv_max_error: Option<f32>Maximum absolute UV error, if the pack carries UVs (dimensionless).
targets: Vec<TargetErrorReport>Per-target quantisation errors.
Trait Implementations§
Source§impl Clone for QuantizationReport
impl Clone for QuantizationReport
Source§fn clone(&self) -> QuantizationReport
fn clone(&self) -> QuantizationReport
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 QuantizationReport
impl Debug for QuantizationReport
Source§impl PartialEq for QuantizationReport
impl PartialEq for QuantizationReport
impl StructuralPartialEq for QuantizationReport
Auto Trait Implementations§
impl Freeze for QuantizationReport
impl RefUnwindSafe for QuantizationReport
impl Send for QuantizationReport
impl Sync for QuantizationReport
impl Unpin for QuantizationReport
impl UnsafeUnpin for QuantizationReport
impl UnwindSafe for QuantizationReport
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