pub struct DropShadow { /* private fields */ }
Expand description
A drop shadow filter primitive.
This is essentially feGaussianBlur
, feOffset
and feFlood
joined together.
feDropShadow
element in the SVG.
Implementations§
source§impl DropShadow
impl DropShadow
sourcepub fn std_dev_x(&self) -> PositiveF32
pub fn std_dev_x(&self) -> PositiveF32
A standard deviation along the X-axis.
stdDeviation
in the SVG.
sourcepub fn std_dev_y(&self) -> PositiveF32
pub fn std_dev_y(&self) -> PositiveF32
A standard deviation along the Y-axis.
stdDeviation
in the SVG.
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 moreAuto 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)