pub struct BoxShadow {
pub offset_x: f32,
pub offset_y: f32,
pub blur_radius: f32,
pub spread_radius: f32,
pub color: Color,
pub inset: bool,
}Expand description
CSS box-shadow effect definition.
Fields§
§offset_x: f32§offset_y: f32§blur_radius: f32§spread_radius: f32§color: Color§inset: boolTrait Implementations§
impl StructuralPartialEq for BoxShadow
Auto Trait Implementations§
impl Forget for BoxShadow
impl Freeze for BoxShadow
impl Move for BoxShadow
impl RefUnwindSafe for BoxShadow
impl Send for BoxShadow
impl Sync for BoxShadow
impl Unpin for BoxShadow
impl UnsafeUnpin for BoxShadow
impl UnwindSafe for BoxShadow
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