#[repr(u8)]
enum PropertyId {
Show 69 variants Font = 0, Marker = 1, BaselineShift = 2, ClipPath = 3, ClipRule = 4, Color = 5, ColorInterpolationFilters = 6, CX = 7, CY = 8, Direction = 9, Display = 10, EnableBackground = 11, Fill = 12, FillOpacity = 13, FillRule = 14, Filter = 15, FloodColor = 16, FloodOpacity = 17, FontFamily = 18, FontSize = 19, FontStretch = 20, FontStyle = 21, FontVariant = 22, FontWeight = 23, GlyphOrientationVertical = 24, Height = 25, ImageRendering = 26, LetterSpacing = 27, LightingColor = 28, MarkerEnd = 29, MarkerMid = 30, MarkerStart = 31, Mask = 32, Opacity = 33, Overflow = 34, R = 35, RX = 36, RY = 37, ShapeRendering = 38, StopColor = 39, StopOpacity = 40, Stroke = 41, StrokeDasharray = 42, StrokeDashoffset = 43, StrokeLinecap = 44, StrokeLinejoin = 45, StrokeMiterlimit = 46, StrokeOpacity = 47, StrokeWidth = 48, TextAnchor = 49, TextDecoration = 50, TextRendering = 51, TransformProperty = 52, UnicodeBidi = 53, Visibility = 54, Width = 55, WritingMode = 56, X = 57, Y = 58, Isolation = 59, LineHeight = 60, MaskType = 61, MixBlendMode = 62, PaintOrder = 63, TextOrientation = 64, VectorEffect = 65, XmlLang = 66, XmlSpace = 67, UnsetProperty = 68,
}
Expand description

Used to match ParsedProperty to their discriminant

The PropertyId::UnsetProperty can be used as a sentinel value, as it does not match any ParsedProperty discriminant; it is really the number of valid values in this enum.

Variants§

§

Font = 0

§

Marker = 1

§

BaselineShift = 2

§

ClipPath = 3

§

ClipRule = 4

§

Color = 5

§

ColorInterpolationFilters = 6

§

CX = 7

§

CY = 8

§

Direction = 9

§

Display = 10

§

EnableBackground = 11

§

Fill = 12

§

FillOpacity = 13

§

FillRule = 14

§

Filter = 15

§

FloodColor = 16

§

FloodOpacity = 17

§

FontFamily = 18

§

FontSize = 19

§

FontStretch = 20

§

FontStyle = 21

§

FontVariant = 22

§

FontWeight = 23

§

GlyphOrientationVertical = 24

§

Height = 25

§

ImageRendering = 26

§

LetterSpacing = 27

§

LightingColor = 28

§

MarkerEnd = 29

§

MarkerMid = 30

§

MarkerStart = 31

§

Mask = 32

§

Opacity = 33

§

Overflow = 34

§

R = 35

§

RX = 36

§

RY = 37

§

ShapeRendering = 38

§

StopColor = 39

§

StopOpacity = 40

§

Stroke = 41

§

StrokeDasharray = 42

§

StrokeDashoffset = 43

§

StrokeLinecap = 44

§

StrokeLinejoin = 45

§

StrokeMiterlimit = 46

§

StrokeOpacity = 47

§

StrokeWidth = 48

§

TextAnchor = 49

§

TextDecoration = 50

§

TextRendering = 51

§

TransformProperty = 52

§

UnicodeBidi = 53

§

Visibility = 54

§

Width = 55

§

WritingMode = 56

§

X = 57

§

Y = 58

§

Isolation = 59

§

LineHeight = 60

§

MaskType = 61

§

MixBlendMode = 62

§

PaintOrder = 63

§

TextOrientation = 64

§

VectorEffect = 65

§

XmlLang = 66

§

XmlSpace = 67

§

UnsetProperty = 68

Implementations§

Trait Implementations§

source§

impl Clone for PropertyId

source§

fn clone(&self) -> PropertyId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl PartialEq for PropertyId

source§

fn eq(&self, other: &PropertyId) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for PropertyId

source§

impl StructuralPartialEq for PropertyId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

§

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

Checks if self is actually part of its subset T (and can be converted to it).
§

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

The inclusion map: converts self to the equivalent element of its superset.
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.