pub struct TextShadow {
pub color: Rgba,
pub blur: f64,
pub dx: f64,
pub dy: f64,
}Expand description
An outer shadow: colour (with its alpha), blur radius and offset in points.
Fields§
§color: Rgba§blur: f64§dx: f64§dy: f64Trait Implementations§
Source§impl Clone for TextShadow
impl Clone for TextShadow
impl Copy for TextShadow
Source§impl Debug for TextShadow
impl Debug for TextShadow
Source§impl PartialEq for TextShadow
impl PartialEq for TextShadow
impl StructuralPartialEq for TextShadow
Auto Trait Implementations§
impl Freeze for TextShadow
impl RefUnwindSafe for TextShadow
impl Send for TextShadow
impl Sync for TextShadow
impl Unpin for TextShadow
impl UnsafeUnpin for TextShadow
impl UnwindSafe for TextShadow
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