pub struct BoxShadowSpec {
pub offset: Point,
pub blur_radius: f32,
pub spread: f32,
pub color: Color,
}Expand description
盒子阴影规格(复用 PaintList::box_shadow 的 GPU SDF blur 通道)
Fields§
§offset: Point§blur_radius: f32§spread: f32§color: ColorImplementations§
Trait Implementations§
Source§impl Clone for BoxShadowSpec
impl Clone for BoxShadowSpec
impl Copy for BoxShadowSpec
Source§impl Debug for BoxShadowSpec
impl Debug for BoxShadowSpec
Source§impl PartialEq for BoxShadowSpec
impl PartialEq for BoxShadowSpec
impl StructuralPartialEq for BoxShadowSpec
Auto Trait Implementations§
impl Freeze for BoxShadowSpec
impl RefUnwindSafe for BoxShadowSpec
impl Send for BoxShadowSpec
impl Sync for BoxShadowSpec
impl Unpin for BoxShadowSpec
impl UnsafeUnpin for BoxShadowSpec
impl UnwindSafe for BoxShadowSpec
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