#[repr(C)]pub struct ConicGradient {
pub extend_mode: ExtendMode,
pub center: StyleBackgroundPosition,
pub angle: AngleValue,
pub stops: NormalizedRadialColorStopVec,
}Fields§
§extend_mode: ExtendMode§center: StyleBackgroundPosition§angle: AngleValue§stops: NormalizedRadialColorStopVecTrait Implementations§
Source§impl Clone for ConicGradient
impl Clone for ConicGradient
Source§fn clone(&self) -> ConicGradient
fn clone(&self) -> ConicGradient
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 ConicGradient
impl Debug for ConicGradient
Source§impl Default for ConicGradient
impl Default for ConicGradient
Source§impl Hash for ConicGradient
impl Hash for ConicGradient
Source§impl Ord for ConicGradient
impl Ord for ConicGradient
Source§fn cmp(&self, other: &ConicGradient) -> Ordering
fn cmp(&self, other: &ConicGradient) -> 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 ConicGradient
impl PartialEq for ConicGradient
Source§impl PartialOrd for ConicGradient
impl PartialOrd for ConicGradient
Source§impl PrintAsCssValue for ConicGradient
impl PrintAsCssValue for ConicGradient
fn print_as_css_value(&self) -> String
impl Eq for ConicGradient
impl StructuralPartialEq for ConicGradient
Auto Trait Implementations§
impl Freeze for ConicGradient
impl RefUnwindSafe for ConicGradient
impl Send for ConicGradient
impl Sync for ConicGradient
impl Unpin for ConicGradient
impl UnwindSafe for ConicGradient
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