pub enum FunctionShadingType {
Function,
Axial,
Radial,
}
Expand description
What kind of shading to use for a function-based shading.
Variants§
Function
The function specifies the color for each point in the domain.
Axial
The function specifies the color for each point on a line.
Radial
The function specifies the color for each circle between two nested circles.
Trait Implementations§
source§impl Clone for FunctionShadingType
impl Clone for FunctionShadingType
source§fn clone(&self) -> FunctionShadingType
fn clone(&self) -> FunctionShadingType
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 FunctionShadingType
impl Debug for FunctionShadingType
source§impl Hash for FunctionShadingType
impl Hash for FunctionShadingType
source§impl PartialEq for FunctionShadingType
impl PartialEq for FunctionShadingType
impl Copy for FunctionShadingType
impl Eq for FunctionShadingType
impl StructuralPartialEq for FunctionShadingType
Auto Trait Implementations§
impl Freeze for FunctionShadingType
impl RefUnwindSafe for FunctionShadingType
impl Send for FunctionShadingType
impl Sync for FunctionShadingType
impl Unpin for FunctionShadingType
impl UnwindSafe for FunctionShadingType
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
)