Struct parcel_css::properties::border::BorderShorthand [−][src]
pub struct BorderShorthand {
pub width: Option<BorderSideWidth>,
pub style: Option<BorderStyle>,
pub color: Option<CssColor>,
}
Fields
width: Option<BorderSideWidth>
style: Option<BorderStyle>
color: Option<CssColor>
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BorderShorthand
impl Send for BorderShorthand
impl Sync for BorderShorthand
impl Unpin for BorderShorthand
impl UnwindSafe for BorderShorthand
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