pub struct GradientFill { /* private fields */ }Implementations§
Source§impl GradientFill
impl GradientFill
pub fn flip(&self) -> &TileFlipValues
pub fn get_flip(&self) -> &TileFlipValues
👎Deprecated since 3.0.0:
Use flip()
pub fn set_flip(&mut self, value: TileFlipValues) -> &mut GradientFill
pub fn rotate_with_shape(&self) -> bool
pub fn get_rotate_with_shape(&self) -> bool
👎Deprecated since 3.0.0:
Use rotate_with_shape()
pub fn set_rotate_with_shape(&mut self, value: bool) -> &mut GradientFill
pub fn gradient_stop_list(&self) -> &GradientStopList
pub fn get_gradient_stop_list(&self) -> &GradientStopList
👎Deprecated since 3.0.0:
Use gradient_stop_list()
pub fn gradient_stop_list_mut(&mut self) -> &mut GradientStopList
pub fn get_gradient_stop_list_mut(&mut self) -> &mut GradientStopList
👎Deprecated since 3.0.0:
Use gradient_stop_list_mut()
pub fn set_gradient_stop_list( &mut self, value: GradientStopList, ) -> &mut GradientFill
pub fn linear_gradient_fill(&self) -> Option<&LinearGradientFill>
pub fn get_linear_gradient_fill(&self) -> Option<&LinearGradientFill>
👎Deprecated since 3.0.0:
Use linear_gradient_fill()
pub fn linear_gradient_fill_mut(&mut self) -> Option<&mut LinearGradientFill>
pub fn get_linear_gradient_fill_mut( &mut self, ) -> Option<&mut LinearGradientFill>
👎Deprecated since 3.0.0:
Use linear_gradient_fill_mut()
pub fn set_linear_gradient_fill( &mut self, value: LinearGradientFill, ) -> &mut GradientFill
pub fn tile_rectangle(&self) -> Option<&TileRectangle>
pub fn get_tile_rectangle(&self) -> Option<&TileRectangle>
👎Deprecated since 3.0.0:
Use tile_rectangle()
pub fn tile_rectangle_mut(&mut self) -> Option<&mut TileRectangle>
pub fn get_tile_rectangle_mut(&mut self) -> Option<&mut TileRectangle>
👎Deprecated since 3.0.0:
Use tile_rectangle_mut()
pub fn set_tile_rectangle(&mut self, value: TileRectangle) -> &mut GradientFill
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
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