pub enum VertexKind {
Smooth,
Crease(usize, usize),
Corner,
}Expand description
How the surface behaves at a vertex.
Variants§
Smooth
Smooth all round: no creased edge, or one.
Crease(usize, usize)
Along a crease: exactly two creased edges meet, to these vertices.
Corner
A sharp corner: three creased edges or more, or a boundary vertex of a single face.
Trait Implementations§
Source§impl Clone for VertexKind
impl Clone for VertexKind
Source§fn clone(&self) -> VertexKind
fn clone(&self) -> VertexKind
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 VertexKind
Source§impl Debug for VertexKind
impl Debug for VertexKind
impl Eq for VertexKind
Source§impl PartialEq for VertexKind
impl PartialEq for VertexKind
impl StructuralPartialEq for VertexKind
Auto Trait Implementations§
impl Freeze for VertexKind
impl RefUnwindSafe for VertexKind
impl Send for VertexKind
impl Sync for VertexKind
impl Unpin for VertexKind
impl UnsafeUnpin for VertexKind
impl UnwindSafe for VertexKind
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.