Enum usvg_parser::AId

source ·
pub enum AId {
Show 208 variants AlignmentBaseline, Amplitude, Azimuth, BaseFrequency, BaselineShift, Bias, Class, Clip, ClipPath, ClipRule, ClipPathUnits, Color, ColorInterpolation, ColorInterpolationFilters, ColorProfile, ColorRendering, Cx, Cy, D, DiffuseConstant, Direction, Display, Divisor, DominantBaseline, Dx, Dy, EdgeMode, Elevation, EnableBackground, Exponent, Fill, FillOpacity, FillRule, Filter, FilterUnits, FloodColor, FloodOpacity, Font, FontFamily, FontFeatureSettings, FontKerning, FontSize, FontSizeAdjust, FontStretch, FontStyle, FontSynthesis, FontVariant, FontVariantCaps, FontVariantEastAsian, FontVariantLigatures, FontVariantNumeric, FontVariantPosition, FontWeight, Fr, Fx, Fy, GlyphOrientationHorizontal, GlyphOrientationVertical, GradientTransform, GradientUnits, Height, Href, Id, ImageRendering, In, In2, InlineSize, Intercept, Isolation, K1, K2, K3, K4, KernelMatrix, KernelUnitLength, Kerning, LengthAdjust, LetterSpacing, LightingColor, LimitingConeAngle, LineHeight, MarkerEnd, MarkerMid, MarkerStart, MarkerHeight, MarkerUnits, MarkerWidth, Mask, MaskBorder, MaskBorderMode, MaskBorderOutset, MaskBorderRepeat, MaskBorderSlice, MaskBorderSource, MaskBorderWidth, MaskClip, MaskComposite, MaskImage, MaskMode, MaskOrigin, MaskPosition, MaskSize, MaskType, MaskContentUnits, MaskUnits, MixBlendMode, Mode, NumOctaves, Offset, Opacity, Operator, Order, Orient, Overflow, PaintOrder, Path, PathLength, PatternContentUnits, PatternTransform, PatternUnits, Points, PointsAtX, PointsAtY, PointsAtZ, PreserveAlpha, PreserveAspectRatio, PrimitiveUnits, R, Radius, RefX, RefY, RequiredExtensions, RequiredFeatures, Result, Rotate, Rx, Ry, Scale, Seed, ShapeImageThreshold, ShapeInside, ShapeMargin, ShapePadding, ShapeRendering, ShapeSubtract, Side, Slope, Space, SpecularConstant, SpecularExponent, SpreadMethod, StartOffset, StdDeviation, StitchTiles, StopColor, StopOpacity, Stroke, StrokeDasharray, StrokeDashoffset, StrokeLinecap, StrokeLinejoin, StrokeMiterlimit, StrokeOpacity, StrokeWidth, Style, SurfaceScale, SystemLanguage, TableValues, TargetX, TargetY, TextAlign, TextAlignLast, TextAnchor, TextDecoration, TextDecorationColor, TextDecorationFill, TextDecorationLine, TextDecorationStroke, TextDecorationStyle, TextIndent, TextOrientation, TextOverflow, TextRendering, TextUnderlinePosition, TextLength, Transform, TransformBox, TransformOrigin, Type, UnicodeBidi, UnicodeRange, Values, VectorEffect, ViewBox, Visibility, WhiteSpace, Width, WordSpacing, WritingMode, X, X1, X2, XChannelSelector, Y, Y1, Y2, YChannelSelector, Z,
}
Expand description

An attribute ID.

Variants§

§

AlignmentBaseline

§

Amplitude

§

Azimuth

§

BaseFrequency

§

BaselineShift

§

Bias

§

Class

§

Clip

§

ClipPath

§

ClipRule

§

ClipPathUnits

§

Color

§

ColorInterpolation

§

ColorInterpolationFilters

§

ColorProfile

§

ColorRendering

§

Cx

§

Cy

§

D

§

DiffuseConstant

§

Direction

§

Display

§

Divisor

§

DominantBaseline

§

Dx

§

Dy

§

EdgeMode

§

Elevation

§

EnableBackground

§

Exponent

§

Fill

§

FillOpacity

§

FillRule

§

Filter

§

FilterUnits

§

FloodColor

§

FloodOpacity

§

Font

§

FontFamily

§

FontFeatureSettings

§

FontKerning

§

FontSize

§

FontSizeAdjust

§

FontStretch

§

FontStyle

§

FontSynthesis

§

FontVariant

§

FontVariantCaps

§

FontVariantEastAsian

§

FontVariantLigatures

§

FontVariantNumeric

§

FontVariantPosition

§

FontWeight

§

Fr

§

Fx

§

Fy

§

GlyphOrientationHorizontal

§

GlyphOrientationVertical

§

GradientTransform

§

GradientUnits

§

Height

§

Href

§

Id

§

ImageRendering

§

In

§

In2

§

InlineSize

§

Intercept

§

Isolation

§

K1

§

K2

§

K3

§

K4

§

KernelMatrix

§

KernelUnitLength

§

Kerning

§

LengthAdjust

§

LetterSpacing

§

LightingColor

§

LimitingConeAngle

§

LineHeight

§

MarkerEnd

§

MarkerMid

§

MarkerStart

§

MarkerHeight

§

MarkerUnits

§

MarkerWidth

§

Mask

§

MaskBorder

§

MaskBorderMode

§

MaskBorderOutset

§

MaskBorderRepeat

§

MaskBorderSlice

§

MaskBorderSource

§

MaskBorderWidth

§

MaskClip

§

MaskComposite

§

MaskImage

§

MaskMode

§

MaskOrigin

§

MaskPosition

§

MaskSize

§

MaskType

§

MaskContentUnits

§

MaskUnits

§

MixBlendMode

§

Mode

§

NumOctaves

§

Offset

§

Opacity

§

Operator

§

Order

§

Orient

§

Overflow

§

PaintOrder

§

Path

§

PathLength

§

PatternContentUnits

§

PatternTransform

§

PatternUnits

§

Points

§

PointsAtX

§

PointsAtY

§

PointsAtZ

§

PreserveAlpha

§

PreserveAspectRatio

§

PrimitiveUnits

§

R

§

Radius

§

RefX

§

RefY

§

RequiredExtensions

§

RequiredFeatures

§

Result

§

Rotate

§

Rx

§

Ry

§

Scale

§

Seed

§

ShapeImageThreshold

§

ShapeInside

§

ShapeMargin

§

ShapePadding

§

ShapeRendering

§

ShapeSubtract

§

Side

§

Slope

§

Space

§

SpecularConstant

§

SpecularExponent

§

SpreadMethod

§

StartOffset

§

StdDeviation

§

StitchTiles

§

StopColor

§

StopOpacity

§

Stroke

§

StrokeDasharray

§

StrokeDashoffset

§

StrokeLinecap

§

StrokeLinejoin

§

StrokeMiterlimit

§

StrokeOpacity

§

StrokeWidth

§

Style

§

SurfaceScale

§

SystemLanguage

§

TableValues

§

TargetX

§

TargetY

§

TextAlign

§

TextAlignLast

§

TextAnchor

§

TextDecoration

§

TextDecorationColor

§

TextDecorationFill

§

TextDecorationLine

§

TextDecorationStroke

§

TextDecorationStyle

§

TextIndent

§

TextOrientation

§

TextOverflow

§

TextRendering

§

TextUnderlinePosition

§

TextLength

§

Transform

§

TransformBox

§

TransformOrigin

§

Type

§

UnicodeBidi

§

UnicodeRange

§

Values

§

VectorEffect

§

ViewBox

§

Visibility

§

WhiteSpace

§

Width

§

WordSpacing

§

WritingMode

§

X

§

X1

§

X2

§

XChannelSelector

§

Y

§

Y1

§

Y2

§

YChannelSelector

§

Z

Implementations§

source§

impl AId

source

pub fn to_str(self) -> &'static str

Returns the original string.

Trait Implementations§

source§

impl Clone for AId

source§

fn clone(&self) -> AId

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 Debug for AId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for AId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for AId

source§

fn eq(&self, other: &AId) -> 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 AId

source§

impl StructuralPartialEq for AId

Auto Trait Implementations§

§

impl RefUnwindSafe for AId

§

impl Send for AId

§

impl Sync for AId

§

impl Unpin for AId

§

impl UnwindSafe for AId

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.

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> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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.