Struct parcel_css::properties::masking::Mask [−][src]
pub struct Mask {
pub image: Image,
pub position: Position,
pub size: BackgroundSize,
pub repeat: BackgroundRepeat,
pub clip: MaskClip,
pub origin: GeometryBox,
pub composite: MaskComposite,
pub mode: MaskMode,
}
Expand description
https://www.w3.org/TR/css-masking-1/#the-mask
Fields
image: Image
position: Position
size: BackgroundSize
repeat: BackgroundRepeat
clip: MaskClip
origin: GeometryBox
composite: MaskComposite
mode: MaskMode
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Mask
impl UnwindSafe for Mask
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