pub enum RepairType {
Degenerate,
Duplicates,
Harmonize,
Islands,
Holes,
All,
}Expand description
Types of mesh repair operations.
Specifies which geometric repairs to perform on 3MF meshes.
Variants§
Degenerate
Remove degenerate triangles (zero area)
Duplicates
Remove duplicate triangles
Harmonize
Harmonize triangle winding
Islands
Remove disconnected components (islands)
Holes
Attempt to fill holes (boundary loops)
All
Perform all repairs
Trait Implementations§
Source§impl Clone for RepairType
impl Clone for RepairType
Source§fn clone(&self) -> RepairType
fn clone(&self) -> RepairType
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 moreSource§impl Debug for RepairType
impl Debug for RepairType
Source§impl PartialEq for RepairType
impl PartialEq for RepairType
Source§impl ValueEnum for RepairType
impl ValueEnum for RepairType
impl Copy for RepairType
impl StructuralPartialEq for RepairType
Auto Trait Implementations§
impl Freeze for RepairType
impl RefUnwindSafe for RepairType
impl Send for RepairType
impl Sync for RepairType
impl Unpin for RepairType
impl UnwindSafe for RepairType
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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