pub enum GradientType {
LinearGradient,
RepeatingLinearGradient,
RadialGradient,
RepeatingRadialGradient,
}
Variants§
Trait Implementations§
Source§impl Clone for GradientType
impl Clone for GradientType
Source§fn clone(&self) -> GradientType
fn clone(&self) -> GradientType
Returns a copy 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 GradientType
impl Debug for GradientType
Source§impl Hash for GradientType
impl Hash for GradientType
Source§impl Ord for GradientType
impl Ord for GradientType
Source§fn cmp(&self, other: &GradientType) -> Ordering
fn cmp(&self, other: &GradientType) -> 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 GradientType
impl PartialEq for GradientType
Source§impl PartialOrd for GradientType
impl PartialOrd for GradientType
impl Copy for GradientType
impl Eq for GradientType
impl StructuralPartialEq for GradientType
Auto Trait Implementations§
impl Freeze for GradientType
impl RefUnwindSafe for GradientType
impl Send for GradientType
impl Sync for GradientType
impl Unpin for GradientType
impl UnwindSafe for GradientType
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
)