Enum parcel_css::properties::svg::SVGPaint [−][src]
pub enum SVGPaint {
None,
Url(Url, Option<SVGPaintFallback>),
Color(CssColor),
ContextFill,
ContextStroke,
}
Expand description
https://www.w3.org/TR/SVG2/painting.html#SpecifyingPaint
Variants
None
Url(Url, Option<SVGPaintFallback>)
Color(CssColor)
Tuple Fields
0: CssColor
ContextFill
ContextStroke
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SVGPaint
impl UnwindSafe for SVGPaint
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