pub struct Shadow {
pub color: Color,
pub offset: Point,
pub blur: f32,
}Expand description
Shadow describes a colored, offset copy painted beneath text.
Fields§
§color: Colorcolor is the shadow color.
offset: Pointoffset moves the shadow in logical pixels.
blur: f32blur is the Gaussian sigma; zero produces a sharp copy.
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