pub enum NormalWeighting {
Area,
Angle,
Uniform,
}
Expand description
Weighting scheme for vertex normal computation
Variants§
Trait Implementations§
Source§impl Clone for NormalWeighting
impl Clone for NormalWeighting
Source§fn clone(&self) -> NormalWeighting
fn clone(&self) -> NormalWeighting
Returns a duplicate of the value. Read more
1.0.0 · 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 NormalWeighting
impl Debug for NormalWeighting
Source§impl<'de> Deserialize<'de> for NormalWeighting
impl<'de> Deserialize<'de> for NormalWeighting
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NormalWeighting
impl PartialEq for NormalWeighting
Source§impl Serialize for NormalWeighting
impl Serialize for NormalWeighting
impl Copy for NormalWeighting
impl Eq for NormalWeighting
impl StructuralPartialEq for NormalWeighting
Auto Trait Implementations§
impl Freeze for NormalWeighting
impl RefUnwindSafe for NormalWeighting
impl Send for NormalWeighting
impl Sync for NormalWeighting
impl Unpin for NormalWeighting
impl UnwindSafe for NormalWeighting
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