pub struct Shadow {
pub offset_x: f64,
pub offset_y: f64,
pub blur: f64,
pub color: Color,
}Expand description
A drop shadow applied to a filled or stroked shape.
Fields§
§offset_x: f64The horizontal offset of the shadow.
offset_y: f64The vertical offset of the shadow.
blur: f64The blur radius of the shadow.
color: ColorThe colour of the shadow.
Trait Implementations§
impl Copy for Shadow
impl StructuralPartialEq for Shadow
Auto Trait Implementations§
impl Freeze for Shadow
impl RefUnwindSafe for Shadow
impl Send for Shadow
impl Sync for Shadow
impl Unpin for Shadow
impl UnsafeUnpin for Shadow
impl UnwindSafe for Shadow
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