Enum svgdom::AttributeId

source ·
pub enum AttributeId {
Show 270 variants AccentHeight, Accumulate, Actuate, Additive, AlignmentBaseline, Alphabetic, Amplitude, ArabicForm, Arcrole, Ascent, AttributeName, AttributeType, Azimuth, Base, BaseFrequency, BaselineShift, BaseProfile, Bbox, Begin, Bias, By, CalcMode, CapHeight, Class, Clip, ClipPath, ClipRule, ClipPathUnits, Color, ColorInterpolation, ColorInterpolationFilters, ColorProfile, ColorRendering, ContentScriptType, ContentStyleType, Cursor, Cx, Cy, D, Descent, DiffuseConstant, Direction, Display, Divisor, DominantBaseline, Dur, Dx, Dy, EdgeMode, Elevation, EnableBackground, Encoding, End, Exponent, ExternalResourcesRequired, Fill, FillOpacity, FillRule, Filter, FilterRes, FilterUnits, FloodColor, FloodOpacity, Font, FontFamily, FontSize, FontSizeAdjust, FontStretch, FontStyle, FontVariant, FontWeight, Format, From, Fx, Fy, G1, G2, GlyphName, GlyphOrientationHorizontal, GlyphOrientationVertical, GlyphRef, GradientTransform, GradientUnits, Hanging, Height, HorizAdvX, HorizOriginX, HorizOriginY, Href, Id, Ideographic, ImageRendering, In, In2, Intercept, K, K1, K2, K3, K4, KernelMatrix, KernelUnitLength, Kerning, KeyPoints, KeySplines, KeyTimes, Lang, LengthAdjust, LetterSpacing, LightingColor, LimitingConeAngle, LineHeight, Local, Marker, MarkerEnd, MarkerMid, MarkerStart, MarkerHeight, MarkerUnits, MarkerWidth, Mask, MaskContentUnits, MaskUnits, Mathematical, Max, Media, Method, Min, Mode, Name, NumOctaves, Offset, Onabort, Onactivate, Onbegin, Onclick, Onend, Onerror, Onfocusin, Onfocusout, Onload, Onmousedown, Onmousemove, Onmouseout, Onmouseover, Onmouseup, Onrepeat, Onresize, Onscroll, Onunload, Onzoom, Opacity, Operator, Order, Orient, Orientation, Origin, Overflow, OverlinePosition, OverlineThickness, Panose1, Path, PathLength, PatternContentUnits, PatternTransform, PatternUnits, PointerEvents, Points, PointsAtX, PointsAtY, PointsAtZ, PreserveAlpha, PreserveAspectRatio, PrimitiveUnits, R, Radius, RefX, RefY, RenderingIntent, RepeatCount, RepeatDur, RequiredExtensions, RequiredFeatures, Restart, Result, Role, Rotate, Rx, Ry, Scale, Seed, ShapeRendering, Show, Slope, Space, Spacing, SpecularConstant, SpecularExponent, SpreadMethod, Standalone, StartOffset, StdDeviation, Stemh, Stemv, StitchTiles, StopColor, StopOpacity, StrikethroughPosition, StrikethroughThickness, String, Stroke, StrokeDasharray, StrokeDashoffset, StrokeLinecap, StrokeLinejoin, StrokeMiterlimit, StrokeOpacity, StrokeWidth, Style, SurfaceScale, SystemLanguage, TableValues, Target, TargetX, TargetY, TextAnchor, TextDecoration, TextRendering, TextLength, Title, To, Transform, Type, U1, U2, UnderlinePosition, UnderlineThickness, Unicode, UnicodeBidi, UnicodeRange, UnitsPerEm, VAlphabetic, VHanging, VIdeographic, VMathematical, Values, Version, VertAdvY, VertOriginX, VertOriginY, ViewBox, ViewTarget, Visibility, Width, Widths, WordSpacing, WritingMode, X, XHeight, X1, X2, XChannelSelector, Xlink, Xmlns, Y, Y1, Y2, YChannelSelector, Z, ZoomAndPan,
}
Expand description

List of all SVG attributes.

Variants

AccentHeight

Accumulate

Actuate

Additive

AlignmentBaseline

Alphabetic

Amplitude

ArabicForm

Arcrole

Ascent

AttributeName

AttributeType

Azimuth

Base

BaseFrequency

BaselineShift

BaseProfile

Bbox

Begin

Bias

By

CalcMode

CapHeight

Class

Clip

ClipPath

ClipRule

ClipPathUnits

Color

ColorInterpolation

ColorInterpolationFilters

ColorProfile

ColorRendering

ContentScriptType

ContentStyleType

Cursor

Cx

Cy

D

Descent

DiffuseConstant

Direction

Display

Divisor

DominantBaseline

Dur

Dx

Dy

EdgeMode

Elevation

EnableBackground

Encoding

End

Exponent

ExternalResourcesRequired

Fill

FillOpacity

FillRule

Filter

FilterRes

FilterUnits

FloodColor

FloodOpacity

Font

FontFamily

FontSize

FontSizeAdjust

FontStretch

FontStyle

FontVariant

FontWeight

Format

From

Fx

Fy

G1

G2

GlyphName

GlyphOrientationHorizontal

GlyphOrientationVertical

GlyphRef

GradientTransform

GradientUnits

Hanging

Height

HorizAdvX

HorizOriginX

HorizOriginY

Href

Id

Ideographic

ImageRendering

In

In2

Intercept

K

K1

K2

K3

K4

KernelMatrix

KernelUnitLength

Kerning

KeyPoints

KeySplines

KeyTimes

Lang

LengthAdjust

LetterSpacing

LightingColor

LimitingConeAngle

LineHeight

Local

Marker

MarkerEnd

MarkerMid

MarkerStart

MarkerHeight

MarkerUnits

MarkerWidth

Mask

MaskContentUnits

MaskUnits

Mathematical

Max

Media

Method

Min

Mode

Name

NumOctaves

Offset

Onabort

Onactivate

Onbegin

Onclick

Onend

Onerror

Onfocusin

Onfocusout

Onload

Onmousedown

Onmousemove

Onmouseout

Onmouseover

Onmouseup

Onrepeat

Onresize

Onscroll

Onunload

Onzoom

Opacity

Operator

Order

Orient

Orientation

Origin

Overflow

OverlinePosition

OverlineThickness

Panose1

Path

PathLength

PatternContentUnits

PatternTransform

PatternUnits

PointerEvents

Points

PointsAtX

PointsAtY

PointsAtZ

PreserveAlpha

PreserveAspectRatio

PrimitiveUnits

R

Radius

RefX

RefY

RenderingIntent

RepeatCount

RepeatDur

RequiredExtensions

RequiredFeatures

Restart

Result

Role

Rotate

Rx

Ry

Scale

Seed

ShapeRendering

Show

Slope

Space

Spacing

SpecularConstant

SpecularExponent

SpreadMethod

Standalone

StartOffset

StdDeviation

Stemh

Stemv

StitchTiles

StopColor

StopOpacity

StrikethroughPosition

StrikethroughThickness

String

Stroke

StrokeDasharray

StrokeDashoffset

StrokeLinecap

StrokeLinejoin

StrokeMiterlimit

StrokeOpacity

StrokeWidth

Style

SurfaceScale

SystemLanguage

TableValues

Target

TargetX

TargetY

TextAnchor

TextDecoration

TextRendering

TextLength

Title

To

Transform

Type

U1

U2

UnderlinePosition

UnderlineThickness

Unicode

UnicodeBidi

UnicodeRange

UnitsPerEm

VAlphabetic

VHanging

VIdeographic

VMathematical

Values

Version

VertAdvY

VertOriginX

VertOriginY

ViewBox

ViewTarget

Visibility

Width

Widths

WordSpacing

WritingMode

X

XHeight

X1

X2

XChannelSelector

Xmlns

Y

Y1

Y2

YChannelSelector

Z

ZoomAndPan

Implementations

Converts name into id.

Converts id into name.

Trait Implementations

Returns true if the current attribute is part of presentation attributes. Read more
Returns true if the current attribute is part of inheritable presentation attributes. Read more
Returns true if the current attribute is part of animation event attributes. Read more
Returns true if the current attribute is part of graphical event attributes. Read more
Returns true if the current attribute is part of document event attributes. Read more
Returns true if the current attribute is part of conditional processing attributes . Read more
Returns true if the current attribute is part of core attributes. Read more
Returns true if the current attribute is part of fill attributes. Read more
Returns true if the current attribute is part of stroke attributes. Read more
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method returns an Ordering between self and other. Read more
Compares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
Restrict a value to a certain interval. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Converts ID into name.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.