#[non_exhaustive]pub enum SubdivisionScheme {
Loop,
CatmullClark,
}Expand description
A subdivision scheme.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Loop
Loop: triangle meshes, 1-to-4 split, C2 away from extraordinary vertices.
CatmullClark
Catmull-Clark: polygon meshes, all quads after the first level, C2 away from extraordinary vertices.
Trait Implementations§
Source§impl Clone for SubdivisionScheme
impl Clone for SubdivisionScheme
Source§fn clone(&self) -> SubdivisionScheme
fn clone(&self) -> SubdivisionScheme
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 moreimpl Copy for SubdivisionScheme
Source§impl Debug for SubdivisionScheme
impl Debug for SubdivisionScheme
impl Eq for SubdivisionScheme
Source§impl PartialEq for SubdivisionScheme
impl PartialEq for SubdivisionScheme
impl StructuralPartialEq for SubdivisionScheme
Auto Trait Implementations§
impl Freeze for SubdivisionScheme
impl RefUnwindSafe for SubdivisionScheme
impl Send for SubdivisionScheme
impl Sync for SubdivisionScheme
impl Unpin for SubdivisionScheme
impl UnsafeUnpin for SubdivisionScheme
impl UnwindSafe for SubdivisionScheme
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