Struct parcel_css::properties::border::GenericBorder [−][src]
pub struct GenericBorder<S> {
pub width: BorderSideWidth,
pub style: S,
pub color: CssColor,
}
Fields
width: BorderSideWidth
style: S
color: CssColor
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<S> RefUnwindSafe for GenericBorder<S> where
S: RefUnwindSafe,
impl<S> Send for GenericBorder<S> where
S: Send,
impl<S> Sync for GenericBorder<S> where
S: Sync,
impl<S> Unpin for GenericBorder<S> where
S: Unpin,
impl<S> UnwindSafe for GenericBorder<S> where
S: UnwindSafe,
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