Enum rtdlib::types::BackgroundFill
source[−]pub enum BackgroundFill {
FreeformGradient(BackgroundFillFreeformGradient),
Gradient(BackgroundFillGradient),
Solid(BackgroundFillSolid),
// some variants omitted
}
Expand description
Describes a fill of a background
Variants
FreeformGradient(BackgroundFillFreeformGradient)
Tuple Fields
Describes a freeform gradient fill of a background
Gradient(BackgroundFillGradient)
Tuple Fields
Describes a gradient fill of a background
Solid(BackgroundFillSolid)
Tuple Fields
Describes a solid fill of a background
Implementations
pub fn on_freeform_gradient<F: FnOnce(&BackgroundFillFreeformGradient)>(
&self,
fnc: F
) -> &Self
Trait Implementations
Performs the conversion.
fn deserialize<D>(deserializer: D) -> Result<BackgroundFill, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<BackgroundFill, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for BackgroundFill
impl Send for BackgroundFill
impl Sync for BackgroundFill
impl Unpin for BackgroundFill
impl UnwindSafe for BackgroundFill
Blanket Implementations
Mutably borrows from an owned value. Read more