#[repr(C)]pub enum ShadingValues {
SHADING_FLAT = 0,
SHADING_GOURAUD = 1,
SHADING_PHONG = 2,
}
Variants§
Trait Implementations§
Source§impl Clone for ShadingValues
impl Clone for ShadingValues
Source§fn clone(&self) -> ShadingValues
fn clone(&self) -> ShadingValues
Returns a copy 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 ShadingValues
impl Debug for ShadingValues
Source§impl From<ShadingValues> for i32
impl From<ShadingValues> for i32
Source§fn from(v: ShadingValues) -> Self
fn from(v: ShadingValues) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ShadingValues
impl PartialEq for ShadingValues
Source§impl TryFrom<i32> for ShadingValues
impl TryFrom<i32> for ShadingValues
impl Copy for ShadingValues
impl Eq for ShadingValues
impl StructuralPartialEq for ShadingValues
Auto Trait Implementations§
impl Freeze for ShadingValues
impl RefUnwindSafe for ShadingValues
impl Send for ShadingValues
impl Sync for ShadingValues
impl Unpin for ShadingValues
impl UnwindSafe for ShadingValues
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