pub struct Shadow {
pub color: Color,
pub offset_x: f32,
pub offset_y: f32,
pub blur_radius: f32,
}Expand description
Text shadow.
Fields§
§color: Color§offset_x: f32Horizontal offset in dp.
offset_y: f32Vertical offset in dp.
blur_radius: f32Blur radius in dp.
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