Struct parcel_css::properties::border_image::BorderImageSlice
source · [−]pub struct BorderImageSlice {
pub offsets: Rect<NumberOrPercentage>,
pub fill: bool,
}
Expand description
https://www.w3.org/TR/css-backgrounds-3/#border-image-slice
Fields
offsets: Rect<NumberOrPercentage>
fill: bool
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 BorderImageSlice
impl Send for BorderImageSlice
impl Sync for BorderImageSlice
impl Unpin for BorderImageSlice
impl UnwindSafe for BorderImageSlice
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