pub struct ShadowLayer {
pub inset: bool,
pub offset_x: f32,
pub offset_y: f32,
pub blur: f32,
pub spread: f32,
pub color: Color,
}Expand description
一层 box-shadow。
Fields§
§inset: bool§offset_x: f32§offset_y: f32§blur: f32§spread: f32§color: ColorTrait Implementations§
Source§impl Clone for ShadowLayer
impl Clone for ShadowLayer
impl Copy for ShadowLayer
Source§impl Debug for ShadowLayer
impl Debug for ShadowLayer
Source§impl PartialEq for ShadowLayer
impl PartialEq for ShadowLayer
impl StructuralPartialEq for ShadowLayer
Auto Trait Implementations§
impl Freeze for ShadowLayer
impl RefUnwindSafe for ShadowLayer
impl Send for ShadowLayer
impl Sync for ShadowLayer
impl Unpin for ShadowLayer
impl UnsafeUnpin for ShadowLayer
impl UnwindSafe for ShadowLayer
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