Struct parcel_css::properties::background::Background [−][src]
pub struct Background {
pub image: Image,
pub color: CssColor,
pub position: Position,
pub repeat: BackgroundRepeat,
pub size: BackgroundSize,
pub attachment: BackgroundAttachment,
pub origin: BackgroundBox,
pub clip: BackgroundClip,
}
Expand description
https://www.w3.org/TR/css-backgrounds-3/#background
Fields
image: Image
color: CssColor
position: Position
repeat: BackgroundRepeat
size: BackgroundSize
attachment: BackgroundAttachment
origin: BackgroundBox
clip: BackgroundClip
Trait Implementations
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 Background
impl Send for Background
impl Sync for Background
impl Unpin for Background
impl UnwindSafe for Background
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