Enum parcel_css::properties::masking::ClipPath [−][src]
pub enum ClipPath {
None,
Url(Url),
Shape(Box<BasicShape>, GeometryBox),
Box(GeometryBox),
}
Expand description
https://www.w3.org/TR/css-masking-1/#the-clip-path
Variants
None
Url(Url)
Tuple Fields
0: Url
Shape(Box<BasicShape>, GeometryBox)
Box(GeometryBox)
Tuple Fields
0: GeometryBox
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ClipPath
impl UnwindSafe for ClipPath
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