pub struct SimplifyOptions(/* private fields */);Expand description
Stable simplification options supported by this port.
Implementations§
Source§impl SimplifyOptions
impl SimplifyOptions
Sourcepub const LOCK_BORDER: Self
pub const LOCK_BORDER: Self
Prevent movement of geometric border vertices.
Sourcepub const ERROR_ABSOLUTE: Self
pub const ERROR_ABSOLUTE: Self
Interpret the error limit and result in position units.
Sourcepub const REGULARIZE: Self
pub const REGULARIZE: Self
Apply stronger positional regularization.
Sourcepub const PERMISSIVE: Self
pub const PERMISSIVE: Self
Allow collapses across unprotected attribute discontinuities.
Sourcepub const REGULARIZE_LIGHT: Self
pub const REGULARIZE_LIGHT: Self
Apply light positional regularization.
Sourcepub const PRESERVE_FOLDS: Self
pub const PRESERVE_FOLDS: Self
Preserve geometric folds using additional edge quadrics.
Sourcepub const ERROR_CLAMPED: Self
pub const ERROR_CLAMPED: Self
Clamp each attribute quadric error to its accumulated area.
Trait Implementations§
Source§impl BitOr for SimplifyOptions
impl BitOr for SimplifyOptions
Source§impl BitOrAssign for SimplifyOptions
impl BitOrAssign for SimplifyOptions
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for SimplifyOptions
impl Clone for SimplifyOptions
impl Copy for SimplifyOptions
Source§impl Debug for SimplifyOptions
impl Debug for SimplifyOptions
Source§impl Default for SimplifyOptions
impl Default for SimplifyOptions
impl Eq for SimplifyOptions
Source§impl PartialEq for SimplifyOptions
impl PartialEq for SimplifyOptions
impl StructuralPartialEq for SimplifyOptions
Auto Trait Implementations§
impl Forget for SimplifyOptions
impl Freeze for SimplifyOptions
impl RefUnwindSafe for SimplifyOptions
impl Send for SimplifyOptions
impl Sync for SimplifyOptions
impl Unpin for SimplifyOptions
impl UnsafeUnpin for SimplifyOptions
impl UnwindSafe for SimplifyOptions
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