Struct parcel_css::properties::box_shadow::BoxShadow
source · [−]pub struct BoxShadow {
pub color: CssColor,
pub x_offset: Length,
pub y_offset: Length,
pub blur: Length,
pub spread: Length,
pub inset: bool,
}
Fields
color: CssColor
x_offset: Length
y_offset: Length
blur: Length
spread: Length
inset: bool
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BoxShadow
impl UnwindSafe for BoxShadow
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more