pub enum MeshNormalsInput {
None,
Uniform([f64; 3]),
PerVertex(Vec<[f64; 3]>),
}Expand description
Normals for a MeshInput, mirroring what the read side exposes: none,
one for the whole mesh, or one per vertex (row count must match the
point count — a mismatch is the caller’s responsibility).
Variants§
Trait Implementations§
Source§impl Clone for MeshNormalsInput
impl Clone for MeshNormalsInput
Source§fn clone(&self) -> MeshNormalsInput
fn clone(&self) -> MeshNormalsInput
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 MeshNormalsInput
impl Debug for MeshNormalsInput
Source§impl Default for MeshNormalsInput
impl Default for MeshNormalsInput
Source§fn default() -> MeshNormalsInput
fn default() -> MeshNormalsInput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MeshNormalsInput
impl RefUnwindSafe for MeshNormalsInput
impl Send for MeshNormalsInput
impl Sync for MeshNormalsInput
impl Unpin for MeshNormalsInput
impl UnsafeUnpin for MeshNormalsInput
impl UnwindSafe for MeshNormalsInput
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