pub enum BackgroundFill {
Solid(BackgroundFillSolid),
Gradient(BackgroundFillGradient),
FreeformGradient(BackgroundFillFreeformGradient),
}
Variants§
Solid(BackgroundFillSolid)
Describes a solid fill of a background
Gradient(BackgroundFillGradient)
Describes a gradient fill of a background
FreeformGradient(BackgroundFillFreeformGradient)
Describes a freeform gradient fill of a background
Trait Implementations§
Source§impl Clone for BackgroundFill
impl Clone for BackgroundFill
Source§fn clone(&self) -> BackgroundFill
fn clone(&self) -> BackgroundFill
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 BackgroundFill
impl Debug for BackgroundFill
Source§impl<'de> Deserialize<'de> for BackgroundFill
impl<'de> Deserialize<'de> for BackgroundFill
Source§fn 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
Source§impl PartialEq for BackgroundFill
impl PartialEq for BackgroundFill
Source§impl Serialize for BackgroundFill
impl Serialize for BackgroundFill
impl StructuralPartialEq for BackgroundFill
Auto Trait Implementations§
impl Freeze for BackgroundFill
impl RefUnwindSafe for BackgroundFill
impl Send for BackgroundFill
impl Sync for BackgroundFill
impl Unpin for BackgroundFill
impl UnwindSafe for BackgroundFill
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