pub struct SweepGradient {
pub center: Point,
pub start_angle_turns: f32,
pub end_angle_turns: f32,
pub tile_mode: TileMode,
pub color_space: ColorSpace,
pub stop_count: u8,
pub stops: [GradientStop; 8],
}Fields§
§center: Point§start_angle_turns: f32Start angle in turns (1.0 = full rotation), counter-clockwise from +X.
end_angle_turns: f32End angle in turns (1.0 = full rotation), counter-clockwise from +X.
tile_mode: TileMode§color_space: ColorSpace§stop_count: u8§stops: [GradientStop; 8]Trait Implementations§
Source§impl Clone for SweepGradient
impl Clone for SweepGradient
Source§fn clone(&self) -> SweepGradient
fn clone(&self) -> SweepGradient
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 SweepGradient
impl Debug for SweepGradient
Source§impl PartialEq for SweepGradient
impl PartialEq for SweepGradient
impl Copy for SweepGradient
impl StructuralPartialEq for SweepGradient
Auto Trait Implementations§
impl Freeze for SweepGradient
impl RefUnwindSafe for SweepGradient
impl Send for SweepGradient
impl Sync for SweepGradient
impl Unpin for SweepGradient
impl UnsafeUnpin for SweepGradient
impl UnwindSafe for SweepGradient
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