pub struct ConicGradient {
pub center: LayoutPoint,
pub angle: f32,
pub start_offset: f32,
pub end_offset: f32,
pub extend_mode: ExtendMode,
}
Fields§
§center: LayoutPoint
§angle: f32
§start_offset: f32
§end_offset: f32
§extend_mode: ExtendMode
Implementations§
Trait Implementations§
Source§impl Clone for ConicGradient
impl Clone for ConicGradient
Source§fn clone(&self) -> ConicGradient
fn clone(&self) -> ConicGradient
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 ConicGradient
impl Debug for ConicGradient
Source§impl Default for ConicGradient
impl Default for ConicGradient
Source§fn default() -> ConicGradient
fn default() -> ConicGradient
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConicGradient
impl<'de> Deserialize<'de> for ConicGradient
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ConicGradient
impl PartialEq for ConicGradient
Source§impl Peek for ConicGradient
impl Peek for ConicGradient
Source§impl Poke for ConicGradient
impl Poke for ConicGradient
Source§impl Serialize for ConicGradient
impl Serialize for ConicGradient
impl Copy 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