pub enum GradientStyle {
Linear,
Radial,
Angle,
Reflected,
Diamond,
}Expand description
TS GradientStyle.
Variants§
Trait Implementations§
Source§impl Clone for GradientStyle
impl Clone for GradientStyle
Source§fn clone(&self) -> GradientStyle
fn clone(&self) -> GradientStyle
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 GradientStyle
Source§impl Debug for GradientStyle
impl Debug for GradientStyle
impl Eq for GradientStyle
Source§impl PartialEq for GradientStyle
impl PartialEq for GradientStyle
Source§fn eq(&self, other: &GradientStyle) -> bool
fn eq(&self, other: &GradientStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GradientStyle
Auto Trait Implementations§
impl Freeze for GradientStyle
impl RefUnwindSafe for GradientStyle
impl Send for GradientStyle
impl Sync for GradientStyle
impl Unpin for GradientStyle
impl UnsafeUnpin for GradientStyle
impl UnwindSafe for GradientStyle
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