pub struct RadialGradient {
pub center: LayoutPoint,
pub radius: LayoutSize,
pub start_offset: f32,
pub end_offset: f32,
pub extend_mode: ExtendMode,
}
Fields§
§center: LayoutPoint
§radius: LayoutSize
§start_offset: f32
§end_offset: f32
§extend_mode: ExtendMode
Implementations§
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 Default for RadialGradient
impl Default for RadialGradient
Source§fn default() -> RadialGradient
fn default() -> RadialGradient
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RadialGradient
impl<'de> Deserialize<'de> for RadialGradient
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 RadialGradient
impl PartialEq for RadialGradient
Source§impl Peek for RadialGradient
impl Peek for RadialGradient
Source§impl Poke for RadialGradient
impl Poke for RadialGradient
Source§impl Serialize for RadialGradient
impl Serialize for RadialGradient
impl Copy 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