Enum ftd::GradientDirection
source · [−]pub enum GradientDirection {
BottomToTop,
TopToBottom,
RightToLeft,
LeftToRight,
BottomRightToTopLeft,
BottomLeftToTopRight,
TopRightToBottomLeft,
TopLeftBottomRight,
Center,
Angle {
value: i64,
},
}
Variants
BottomToTop
TopToBottom
RightToLeft
LeftToRight
BottomRightToTopLeft
BottomLeftToTopRight
TopRightToBottomLeft
TopLeftBottomRight
Center
Angle
Fields
value: i64
Implementations
Trait Implementations
sourceimpl Clone for GradientDirection
impl Clone for GradientDirection
sourcefn clone(&self) -> GradientDirection
fn clone(&self) -> GradientDirection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GradientDirection
impl Debug for GradientDirection
sourceimpl<'de> Deserialize<'de> for GradientDirection
impl<'de> Deserialize<'de> for GradientDirection
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<GradientDirection> for GradientDirection
impl PartialEq<GradientDirection> for GradientDirection
sourcefn eq(&self, other: &GradientDirection) -> bool
fn eq(&self, other: &GradientDirection) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for GradientDirection
impl Serialize for GradientDirection
impl StructuralPartialEq for GradientDirection
Auto Trait Implementations
impl RefUnwindSafe for GradientDirection
impl Send for GradientDirection
impl Sync for GradientDirection
impl Unpin for GradientDirection
impl UnwindSafe for GradientDirection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more