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