#[non_exhaustive]pub struct SmoothReport {
pub vertices_moved: usize,
pub boundary_vertices: usize,
pub max_movement: Scalar,
pub attribute_fates: Vec<(String, AttributeFate)>,
}Expand description
What a smoothing pass actually did.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.vertices_moved: usizeVertices whose position changed.
boundary_vertices: usizeVertices held fixed because they sit on an open border.
max_movement: ScalarLargest distance any vertex moved, in model units.
attribute_fates: Vec<(String, AttributeFate)>What happened to each named attribute channel.
Trait Implementations§
Source§impl Clone for SmoothReport
impl Clone for SmoothReport
Source§fn clone(&self) -> SmoothReport
fn clone(&self) -> SmoothReport
Returns a copy 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 SmoothReport
impl Debug for SmoothReport
Source§impl PartialEq for SmoothReport
impl PartialEq for SmoothReport
impl StructuralPartialEq for SmoothReport
Auto Trait Implementations§
impl Freeze for SmoothReport
impl RefUnwindSafe for SmoothReport
impl Send for SmoothReport
impl Sync for SmoothReport
impl Unpin for SmoothReport
impl UnwindSafe for SmoothReport
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