pub enum StreamShadingType {
FreeformGouraud,
LatticeGouraud,
CoonsPatch,
TensorProductPatch,
}
Expand description
What kind of shading to use.
Variants§
FreeformGouraud
The function specifies which vertex has which color. The function is optional.
LatticeGouraud
The function specifies which vertex has which color. The function is optional.
CoonsPatch
The function specifies which corner of the cell has which color. The function is optional.
TensorProductPatch
The function specifies which corner of the cell has which color. The function is optional.
Trait Implementations§
source§impl Clone for StreamShadingType
impl Clone for StreamShadingType
source§fn clone(&self) -> StreamShadingType
fn clone(&self) -> StreamShadingType
Returns a copy of the value. Read more
1.6.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 StreamShadingType
impl Debug for StreamShadingType
source§impl Hash for StreamShadingType
impl Hash for StreamShadingType
source§impl PartialEq for StreamShadingType
impl PartialEq for StreamShadingType
impl Copy for StreamShadingType
impl Eq for StreamShadingType
impl StructuralPartialEq for StreamShadingType
Auto Trait Implementations§
impl Freeze for StreamShadingType
impl RefUnwindSafe for StreamShadingType
impl Send for StreamShadingType
impl Sync for StreamShadingType
impl Unpin for StreamShadingType
impl UnwindSafe for StreamShadingType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)