pub enum ShadingModel {
Unknown,
Lambert,
Phong,
}Expand description
Shading model.
Variants§
Trait Implementations§
Source§impl Clone for ShadingModel
impl Clone for ShadingModel
Source§fn clone(&self) -> ShadingModel
fn clone(&self) -> ShadingModel
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 ShadingModel
impl Debug for ShadingModel
Source§impl FromStr for ShadingModel
impl FromStr for ShadingModel
Source§impl Hash for ShadingModel
impl Hash for ShadingModel
Source§impl Ord for ShadingModel
impl Ord for ShadingModel
Source§fn cmp(&self, other: &ShadingModel) -> Ordering
fn cmp(&self, other: &ShadingModel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ShadingModel
impl PartialEq for ShadingModel
Source§impl PartialOrd for ShadingModel
impl PartialOrd for ShadingModel
Source§impl TryFrom<&str> for ShadingModel
impl TryFrom<&str> for ShadingModel
impl Copy for ShadingModel
impl Eq for ShadingModel
impl StructuralPartialEq for ShadingModel
Auto Trait Implementations§
impl Freeze for ShadingModel
impl RefUnwindSafe for ShadingModel
impl Send for ShadingModel
impl Sync for ShadingModel
impl Unpin for ShadingModel
impl UnwindSafe for ShadingModel
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