pub enum GradientDirection {
Vertical,
Horizontal,
Diagonal,
}Expand description
Gradient direction.
Variants§
Trait Implementations§
Source§impl Clone for GradientDirection
impl Clone for GradientDirection
Source§fn clone(&self) -> GradientDirection
fn clone(&self) -> GradientDirection
Returns a duplicate 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 GradientDirection
impl Debug for GradientDirection
impl Copy for GradientDirection
Auto Trait Implementations§
impl Freeze for GradientDirection
impl RefUnwindSafe for GradientDirection
impl Send for GradientDirection
impl Sync for GradientDirection
impl Unpin for GradientDirection
impl UnwindSafe for GradientDirection
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