#[repr(C)]pub enum AiShadingMode {
Flat = 1,
Gouraud = 2,
Phong = 3,
Blinn = 4,
Toon = 5,
OrenNayar = 6,
Minnaert = 7,
CookTorrance = 8,
NoShading = 9,
Fresnel = 10,
}Variants§
Flat = 1
Gouraud = 2
Phong = 3
Blinn = 4
Toon = 5
OrenNayar = 6
Minnaert = 7
CookTorrance = 8
NoShading = 9
Fresnel = 10
Trait Implementations§
Source§impl Clone for AiShadingMode
impl Clone for AiShadingMode
Source§fn clone(&self) -> AiShadingMode
fn clone(&self) -> AiShadingMode
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 AiShadingMode
Source§impl Debug for AiShadingMode
impl Debug for AiShadingMode
impl Eq for AiShadingMode
Source§impl PartialEq for AiShadingMode
impl PartialEq for AiShadingMode
Source§fn eq(&self, other: &AiShadingMode) -> bool
fn eq(&self, other: &AiShadingMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AiShadingMode
Auto Trait Implementations§
impl Freeze for AiShadingMode
impl RefUnwindSafe for AiShadingMode
impl Send for AiShadingMode
impl Sync for AiShadingMode
impl Unpin for AiShadingMode
impl UnsafeUnpin for AiShadingMode
impl UnwindSafe for AiShadingMode
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