pub struct Shadow {
pub bounds: Bounds,
pub radii: Corners<f32>,
pub color: Color,
pub offset: Point,
pub blur: f32,
pub spread: f32,
pub inset: bool,
}Expand description
A box shadow (CSS semantics: blur is the blur radius, spread grows
the shadow shape).
Fields§
§bounds: BoundsBounds of the element casting (or containing, for inset) the shadow.
radii: Corners<f32>§color: Color§offset: Point§blur: f32§spread: f32§inset: boolTrait 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