pub struct ShadowOption {
pub offset_x: f64,
pub offset_y: f64,
pub blur: f64,
pub color: Option<String>,
}Expand description
The shadow cast by a 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: Option<String>The colour of the shadow.
Trait Implementations§
Source§impl Clone for ShadowOption
impl Clone for ShadowOption
Source§impl Debug for ShadowOption
impl Debug for ShadowOption
Source§impl Default for ShadowOption
impl Default for ShadowOption
Source§impl PartialEq for ShadowOption
impl PartialEq for ShadowOption
impl StructuralPartialEq for ShadowOption
Auto Trait Implementations§
impl Freeze for ShadowOption
impl RefUnwindSafe for ShadowOption
impl Send for ShadowOption
impl Sync for ShadowOption
impl Unpin for ShadowOption
impl UnsafeUnpin for ShadowOption
impl UnwindSafe for ShadowOption
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