pub enum ParsedProperty {
Show 70 variants
Font(SpecifiedValue<Font>),
Marker(SpecifiedValue<Marker>),
BaselineShift(SpecifiedValue<BaselineShift>),
ClipPath(SpecifiedValue<ClipPath>),
ClipRule(SpecifiedValue<ClipRule>),
Color(SpecifiedValue<Color>),
ColorInterpolationFilters(SpecifiedValue<ColorInterpolationFilters>),
CX(SpecifiedValue<CX>),
CY(SpecifiedValue<CY>),
Direction(SpecifiedValue<Direction>),
Display(SpecifiedValue<Display>),
DominantBaseline(SpecifiedValue<DominantBaseline>),
EnableBackground(SpecifiedValue<EnableBackground>),
Fill(SpecifiedValue<Fill>),
FillOpacity(SpecifiedValue<FillOpacity>),
FillRule(SpecifiedValue<FillRule>),
Filter(SpecifiedValue<Filter>),
FloodColor(SpecifiedValue<FloodColor>),
FloodOpacity(SpecifiedValue<FloodOpacity>),
FontFamily(SpecifiedValue<FontFamily>),
FontSize(SpecifiedValue<FontSize>),
FontStretch(SpecifiedValue<FontStretch>),
FontStyle(SpecifiedValue<FontStyle>),
FontVariant(SpecifiedValue<FontVariant>),
FontWeight(SpecifiedValue<FontWeight>),
GlyphOrientationVertical(SpecifiedValue<GlyphOrientationVertical>),
Height(SpecifiedValue<Height>),
ImageRendering(SpecifiedValue<ImageRendering>),
LetterSpacing(SpecifiedValue<LetterSpacing>),
LightingColor(SpecifiedValue<LightingColor>),
MarkerEnd(SpecifiedValue<MarkerEnd>),
MarkerMid(SpecifiedValue<MarkerMid>),
MarkerStart(SpecifiedValue<MarkerStart>),
Mask(SpecifiedValue<Mask>),
Opacity(SpecifiedValue<Opacity>),
Overflow(SpecifiedValue<Overflow>),
R(SpecifiedValue<R>),
RX(SpecifiedValue<RX>),
RY(SpecifiedValue<RY>),
ShapeRendering(SpecifiedValue<ShapeRendering>),
StopColor(SpecifiedValue<StopColor>),
StopOpacity(SpecifiedValue<StopOpacity>),
Stroke(SpecifiedValue<Stroke>),
StrokeDasharray(SpecifiedValue<StrokeDasharray>),
StrokeDashoffset(SpecifiedValue<StrokeDashoffset>),
StrokeLinecap(SpecifiedValue<StrokeLinecap>),
StrokeLinejoin(SpecifiedValue<StrokeLinejoin>),
StrokeMiterlimit(SpecifiedValue<StrokeMiterlimit>),
StrokeOpacity(SpecifiedValue<StrokeOpacity>),
StrokeWidth(SpecifiedValue<StrokeWidth>),
TextAnchor(SpecifiedValue<TextAnchor>),
TextDecoration(SpecifiedValue<TextDecoration>),
TextRendering(SpecifiedValue<TextRendering>),
TransformProperty(SpecifiedValue<TransformProperty>),
UnicodeBidi(SpecifiedValue<UnicodeBidi>),
Visibility(SpecifiedValue<Visibility>),
Width(SpecifiedValue<Width>),
WritingMode(SpecifiedValue<WritingMode>),
X(SpecifiedValue<X>),
Y(SpecifiedValue<Y>),
Isolation(SpecifiedValue<Isolation>),
LineHeight(SpecifiedValue<LineHeight>),
MaskType(SpecifiedValue<MaskType>),
MixBlendMode(SpecifiedValue<MixBlendMode>),
PaintOrder(SpecifiedValue<PaintOrder>),
TextOrientation(SpecifiedValue<TextOrientation>),
VectorEffect(SpecifiedValue<VectorEffect>),
WhiteSpace(SpecifiedValue<WhiteSpace>),
XmlLang(SpecifiedValue<XmlLang>),
XmlSpace(SpecifiedValue<XmlSpace>),
}Expand description
Embodies “which property is this” plus the property’s value
Variants§
Font(SpecifiedValue<Font>)
Marker(SpecifiedValue<Marker>)
BaselineShift(SpecifiedValue<BaselineShift>)
ClipPath(SpecifiedValue<ClipPath>)
ClipRule(SpecifiedValue<ClipRule>)
Color(SpecifiedValue<Color>)
ColorInterpolationFilters(SpecifiedValue<ColorInterpolationFilters>)
CX(SpecifiedValue<CX>)
CY(SpecifiedValue<CY>)
Direction(SpecifiedValue<Direction>)
Display(SpecifiedValue<Display>)
DominantBaseline(SpecifiedValue<DominantBaseline>)
EnableBackground(SpecifiedValue<EnableBackground>)
Fill(SpecifiedValue<Fill>)
FillOpacity(SpecifiedValue<FillOpacity>)
FillRule(SpecifiedValue<FillRule>)
Filter(SpecifiedValue<Filter>)
FloodColor(SpecifiedValue<FloodColor>)
FloodOpacity(SpecifiedValue<FloodOpacity>)
FontFamily(SpecifiedValue<FontFamily>)
FontSize(SpecifiedValue<FontSize>)
FontStretch(SpecifiedValue<FontStretch>)
FontStyle(SpecifiedValue<FontStyle>)
FontVariant(SpecifiedValue<FontVariant>)
FontWeight(SpecifiedValue<FontWeight>)
GlyphOrientationVertical(SpecifiedValue<GlyphOrientationVertical>)
Height(SpecifiedValue<Height>)
ImageRendering(SpecifiedValue<ImageRendering>)
LetterSpacing(SpecifiedValue<LetterSpacing>)
LightingColor(SpecifiedValue<LightingColor>)
MarkerEnd(SpecifiedValue<MarkerEnd>)
MarkerMid(SpecifiedValue<MarkerMid>)
MarkerStart(SpecifiedValue<MarkerStart>)
Mask(SpecifiedValue<Mask>)
Opacity(SpecifiedValue<Opacity>)
Overflow(SpecifiedValue<Overflow>)
R(SpecifiedValue<R>)
RX(SpecifiedValue<RX>)
RY(SpecifiedValue<RY>)
ShapeRendering(SpecifiedValue<ShapeRendering>)
StopColor(SpecifiedValue<StopColor>)
StopOpacity(SpecifiedValue<StopOpacity>)
Stroke(SpecifiedValue<Stroke>)
StrokeDasharray(SpecifiedValue<StrokeDasharray>)
StrokeDashoffset(SpecifiedValue<StrokeDashoffset>)
StrokeLinecap(SpecifiedValue<StrokeLinecap>)
StrokeLinejoin(SpecifiedValue<StrokeLinejoin>)
StrokeMiterlimit(SpecifiedValue<StrokeMiterlimit>)
StrokeOpacity(SpecifiedValue<StrokeOpacity>)
StrokeWidth(SpecifiedValue<StrokeWidth>)
TextAnchor(SpecifiedValue<TextAnchor>)
TextDecoration(SpecifiedValue<TextDecoration>)
TextRendering(SpecifiedValue<TextRendering>)
TransformProperty(SpecifiedValue<TransformProperty>)
UnicodeBidi(SpecifiedValue<UnicodeBidi>)
Visibility(SpecifiedValue<Visibility>)
Width(SpecifiedValue<Width>)
WritingMode(SpecifiedValue<WritingMode>)
X(SpecifiedValue<X>)
Y(SpecifiedValue<Y>)
Isolation(SpecifiedValue<Isolation>)
LineHeight(SpecifiedValue<LineHeight>)
MaskType(SpecifiedValue<MaskType>)
MixBlendMode(SpecifiedValue<MixBlendMode>)
PaintOrder(SpecifiedValue<PaintOrder>)
TextOrientation(SpecifiedValue<TextOrientation>)
VectorEffect(SpecifiedValue<VectorEffect>)
WhiteSpace(SpecifiedValue<WhiteSpace>)
XmlLang(SpecifiedValue<XmlLang>)
XmlSpace(SpecifiedValue<XmlSpace>)
Implementations§
Source§impl ParsedProperty
impl ParsedProperty
fn get_property_id(&self) -> PropertyId
fn unspecified(id: PropertyId) -> Self
Trait Implementations§
Source§impl Clone for ParsedProperty
impl Clone for ParsedProperty
Source§fn clone(&self) -> ParsedProperty
fn clone(&self) -> ParsedProperty
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ParsedProperty
impl RefUnwindSafe for ParsedProperty
impl Send for ParsedProperty
impl Sync for ParsedProperty
impl Unpin for ParsedProperty
impl UnwindSafe for ParsedProperty
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.