pub enum MeshNormals {
None,
Uniform([f64; 3]),
PerVertex(Vec<[f64; 3]>),
}Expand description
The normals of a Mesh, as the file stores them: absent, one normal for
the whole mesh, or one per vertex (parallel to Mesh::points).
Variants§
Trait Implementations§
Source§impl Clone for MeshNormals
impl Clone for MeshNormals
Source§fn clone(&self) -> MeshNormals
fn clone(&self) -> MeshNormals
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 moreSource§impl Debug for MeshNormals
impl Debug for MeshNormals
Source§impl PartialEq for MeshNormals
impl PartialEq for MeshNormals
Source§fn eq(&self, other: &MeshNormals) -> bool
fn eq(&self, other: &MeshNormals) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MeshNormals
Auto Trait Implementations§
impl Freeze for MeshNormals
impl RefUnwindSafe for MeshNormals
impl Send for MeshNormals
impl Sync for MeshNormals
impl Unpin for MeshNormals
impl UnsafeUnpin for MeshNormals
impl UnwindSafe for MeshNormals
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