pub enum ShadingCurveMethod {
ConstantColour,
LinearColour,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ShadingCurveMethod
impl Clone for ShadingCurveMethod
Source§fn clone(&self) -> ShadingCurveMethod
fn clone(&self) -> ShadingCurveMethod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ShadingCurveMethod
Source§impl Debug for ShadingCurveMethod
impl Debug for ShadingCurveMethod
impl Eq for ShadingCurveMethod
Source§impl PartialEq for ShadingCurveMethod
impl PartialEq for ShadingCurveMethod
Source§fn eq(&self, other: &ShadingCurveMethod) -> bool
fn eq(&self, other: &ShadingCurveMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ShadingCurveMethod
Auto Trait Implementations§
impl Freeze for ShadingCurveMethod
impl RefUnwindSafe for ShadingCurveMethod
impl Send for ShadingCurveMethod
impl Sync for ShadingCurveMethod
impl Unpin for ShadingCurveMethod
impl UnsafeUnpin for ShadingCurveMethod
impl UnwindSafe for ShadingCurveMethod
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