pub enum Shading {
Flat,
Interpolated,
}Expand description
Whether a cell is one colour or interpolated across its corners.
Variants§
Flat
One colour per cell, from that cell’s own z.
Interpolated
Bilinear across the cell’s corner values.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Shading
impl<'de> Deserialize<'de> for Shading
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
impl StructuralPartialEq for Shading
Auto Trait Implementations§
impl Freeze for Shading
impl RefUnwindSafe for Shading
impl Send for Shading
impl Sync for Shading
impl Unpin for Shading
impl UnsafeUnpin for Shading
impl UnwindSafe for Shading
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