pub struct Shadow {
pub color: Color,
pub offset: Point,
pub blur_radius: f32,
}Expand description
A shadow drawn behind text. Compose’s Shadow.
Fields§
§color: ColorColor of the shadow, including its alpha.
offset: PointOffset of the shadow from the text, in logical pixels.
blur_radius: f32Blur radius of the shadow, in logical pixels. Zero gives a hard-edged shadow.
Trait Implementations§
impl Copy for Shadow
impl StructuralPartialEq for Shadow
Auto Trait Implementations§
impl Forget for Shadow
impl Freeze for Shadow
impl Move 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