pub struct GradientFill {
pub flip: Option<String>,
pub rotate_with_shape: Option<bool>,
pub stops: Vec<GradientStop>,
pub geometry: Option<GradientGeometry>,
pub tile_rect: Option<RelativeRect>,
/* private fields */
}Expand description
A gradient fill with stops in source order.
Fields§
§flip: Option<String>§rotate_with_shape: Option<bool>§stops: Vec<GradientStop>§geometry: Option<GradientGeometry>§tile_rect: Option<RelativeRect>Implementations§
Source§impl GradientFill
impl GradientFill
pub fn raw_children(&self) -> &OrderedRawChildren
Trait Implementations§
Source§impl Clone for GradientFill
impl Clone for GradientFill
Source§fn clone(&self) -> GradientFill
fn clone(&self) -> GradientFill
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 moreSource§impl Debug for GradientFill
impl Debug for GradientFill
Source§impl Default for GradientFill
impl Default for GradientFill
Source§fn default() -> GradientFill
fn default() -> GradientFill
Returns the “default value” for a type. Read more
impl Eq for GradientFill
Source§impl PartialEq for GradientFill
impl PartialEq for GradientFill
impl StructuralPartialEq for GradientFill
Auto Trait Implementations§
impl Freeze for GradientFill
impl RefUnwindSafe for GradientFill
impl Send for GradientFill
impl Sync for GradientFill
impl Unpin for GradientFill
impl UnsafeUnpin for GradientFill
impl UnwindSafe for GradientFill
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