pub struct GradientGlow {
pub gradient: Vec<ColorStop>,
pub blur_x: Sfixed16P16,
pub blur_y: Sfixed16P16,
pub angle: Sfixed16P16,
pub distance: Sfixed16P16,
pub strength: Sfixed8P8,
pub inner: bool,
pub knockout: bool,
pub composite_source: bool,
pub on_top: bool,
pub passes: u8,
}
Fields§
§gradient: Vec<ColorStop>
§blur_x: Sfixed16P16
§blur_y: Sfixed16P16
§angle: Sfixed16P16
§distance: Sfixed16P16
§strength: Sfixed8P8
§inner: bool
§knockout: bool
§composite_source: bool
§on_top: bool
§passes: u8
Trait Implementations§
Source§impl Clone for GradientGlow
impl Clone for GradientGlow
Source§fn clone(&self) -> GradientGlow
fn clone(&self) -> GradientGlow
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 GradientGlow
impl Debug for GradientGlow
Source§impl<'de> Deserialize<'de> for GradientGlow
impl<'de> Deserialize<'de> for GradientGlow
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 Hash for GradientGlow
impl Hash for GradientGlow
Source§impl Ord for GradientGlow
impl Ord for GradientGlow
Source§fn cmp(&self, other: &GradientGlow) -> Ordering
fn cmp(&self, other: &GradientGlow) -> 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 GradientGlow
impl PartialEq for GradientGlow
Source§impl PartialOrd for GradientGlow
impl PartialOrd for GradientGlow
Source§impl Serialize for GradientGlow
impl Serialize for GradientGlow
impl Eq for GradientGlow
impl StructuralPartialEq for GradientGlow
Auto Trait Implementations§
impl Freeze for GradientGlow
impl RefUnwindSafe for GradientGlow
impl Send for GradientGlow
impl Sync for GradientGlow
impl Unpin for GradientGlow
impl UnwindSafe for GradientGlow
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