pub struct RadialGradient {
pub shape: Shape,
pub extend_mode: ExtendMode,
pub stops: Vec<GradientStopPre>,
}
Fields§
§shape: Shape
§extend_mode: ExtendMode
§stops: Vec<GradientStopPre>
Trait Implementations§
Source§impl Clone for RadialGradient
impl Clone for RadialGradient
Source§fn clone(&self) -> RadialGradient
fn clone(&self) -> RadialGradient
Returns a copy 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 RadialGradient
impl Debug for RadialGradient
Source§impl Display for RadialGradient
impl Display for RadialGradient
Source§impl Hash for RadialGradient
impl Hash for RadialGradient
Source§impl Ord for RadialGradient
impl Ord for RadialGradient
Source§fn cmp(&self, other: &RadialGradient) -> Ordering
fn cmp(&self, other: &RadialGradient) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RadialGradient
impl PartialEq for RadialGradient
Source§impl PartialOrd for RadialGradient
impl PartialOrd for RadialGradient
impl Eq for RadialGradient
impl StructuralPartialEq for RadialGradient
Auto Trait Implementations§
impl Freeze for RadialGradient
impl RefUnwindSafe for RadialGradient
impl Send for RadialGradient
impl Sync for RadialGradient
impl Unpin for RadialGradient
impl UnwindSafe for RadialGradient
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)