pub struct TextShadow {
pub color: Color,
pub offset_x: Points,
pub offset_y: Points,
pub radius: Points,
}Expand description
A shadow behind text (textShadow, text-shadow-*).
Fields§
§color: ColorColor.
offset_x: PointsHorizontal offset.
offset_y: PointsVertical offset.
radius: PointsBlur radius.
Trait 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 Default for TextShadow
impl Default for TextShadow
Source§impl PartialEq for TextShadow
impl PartialEq for TextShadow
impl StructuralPartialEq for TextShadow
Auto Trait Implementations§
impl Forget for TextShadow
impl Freeze for TextShadow
impl Move 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