pub struct ShadowSpec {
pub color: Color,
pub blur: f64,
pub offset: Vec2,
}Expand description
A drop shadow.
Fields§
§color: ColorShadow color.
blur: f64Blur radius in pixels.
offset: Vec2Offset in pixels; y is down.
Trait Implementations§
Source§impl Clone for ShadowSpec
impl Clone for ShadowSpec
impl Copy for ShadowSpec
Auto Trait Implementations§
impl Freeze for ShadowSpec
impl RefUnwindSafe for ShadowSpec
impl Send for ShadowSpec
impl Sync for ShadowSpec
impl Unpin for ShadowSpec
impl UnsafeUnpin for ShadowSpec
impl UnwindSafe for ShadowSpec
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