pub struct TextShadow {
pub offset_x: f32,
pub offset_y: f32,
pub blur: f32,
pub color: (u8, u8, u8, u8),
}Expand description
Text shadow effect
Fields§
§offset_x: f32Horizontal offset
offset_y: f32Vertical offset
blur: f32Blur radius
color: (u8, u8, u8, u8)Shadow color (rgba)
Implementations§
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 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