pub enum Attribute {
Show 256 variants AccentHeight, Accumulate, Additive, AlignmentBaseline, AllowReorder, Alphabetic, Amplitude, ArabicForm, Ascent, AttributeName, AttributeType, AutoReverse, Azimuth, BaseFrequency, BaselineShift, BaseProfile, Bbox, Begin, Bias, By, CalcMode, CapHeight, Class, Clip, ClipPathUnits, ClipPath, ClipRule, Color, ColorInterpolation, ColorInterpolationfilters, ColorProfile, ColorRendering, ContentScriptType, ContentStyleType, Cursor, Cx, Cy, D, Decelerate, Descent, DiffuseConstant, Direction, Display, Divisor, DominantBaseline, Dur, Dx, Dy, EdgeMode, Elevation, EnableBackground, End, Exponent, ExternalResourcesRequired, Fill, FillOpacity, FillRule, Filter, FilterRes, FilterUnits, FloodColor, FloodOpacity, FontFamily, FontSize, FontSizeadjust, FontStretch, FontStyle, FontVariant, FontWeight, Format, From, Fr, Fx, Fy, G1, G2, GlyphName, GlyphOrientationhorizontal, GlyphOrientationvertical, GlyphRef, GradientTransform, GradientUnits, Hanging, Height, Href, Hreflang, HorizAdvx, HorizOriginx, Id, Ideographic, ImageRendering, In, In2, Intercept, K, K1, K2, K3, K4, KernelMatrix, KernelUnitLength, Kerning, KeyPoints, KeySplines, KeyTimes, Lang, LengthAdjust, LetterSpacing, LightingColor, LimitingConeAngle, Local, MarkerEnd, MarkerMid, MarkerStart, MarkerHeight, MarkerUnits, MarkerWidth, Mask, MaskContentUnits, MaskUnits, Mathematical, Max, Media, Method, Min, Mode, Name, NumOctaves, Offset, Opacity, Operator, Order, Orient, Orientation, Origin, Overflow, OverlinePosition, OverlineThickness, Panose1, PaintOrder, Path, PathLength, PatternContentUnits, PatternTransform, PatternUnits, Ping, PointerEvents, Points, PointsAtX, PointsAtY, PointsAtZ, PreserveAlpha, PreserveAspectRatio, PrimitiveUnits, R, Radius, ReferrerPolicy, RefX, RefY, Rel, RenderingIntent, RepeatCount, RepeatDur, RequiredExtensions, RequiredFeatures, Restart, Result, Rotate, Rx, Ry, Slope, Spacing, SpecularConstant, SpecularExponent, Speed, SpreadMethod, StartOffset, StdDeviation, Stemh, Stemv, StitchTiles, StopColor, StopOpacity, StrikethroughPosition, StrikethroughThickness, String, Stroke, StrokeDasharray, StrokeDashoffset, StrokeLinecap, StrokeLinejoin, StrokeMiterlimit, StrokeOpacity, StrokeWidth, Style, SurfaceScale, SystemLanguage, Tabindex, TableValues, Target, TargetX, TargetY, TextAnchor, TextDecoration, TextRendering, TextLength, To, Transform, Type, U1, U2, UnderlinePosition, UnderlineThickness, Unicode, UnicodeBidi, UnicodeRange, UnitsPerem, VAlphabetic, VHanging, VIdeographic, VMathematical, Values, VectorEffect, Version, VertAdvy, VertOriginx, VertOriginy, ViewBox, ViewTarget, Visibility, Width, Widths, WordSpacing, WritingMode, X, XHeight, X1, X2, XChannelSelector, XlinkActuate, XlinkArcrole, XlinkHref, XlinkRole, XlinkShow, XlinkTitle, XlinkType, XmlBase, XmlLang, XmlSpace, Y, Y1, Y2, YChannelSelector, Z, ZoomAndPan, UnmappedAttribute(String),
}
Expand description

An attribute to an Element

Variants§

§

AccentHeight

§

Accumulate

§

Additive

§

AlignmentBaseline

§

AllowReorder

No MDN Documentation available for this attribute

§

Alphabetic

§

Amplitude

§

ArabicForm

§

Ascent

§

AttributeName

§

AttributeType

§

AutoReverse

No MDN Documentation available for this attribute

§

Azimuth

§

BaseFrequency

§

BaselineShift

§

BaseProfile

§

Bbox

§

Begin

§

Bias

§

By

§

CalcMode

§

CapHeight

§

Class

§

Clip

§

ClipPathUnits

§

ClipPath

§

ClipRule

§

Color

§

ColorInterpolation

§

ColorInterpolationfilters

§

ColorProfile

§

ColorRendering

§

ContentScriptType

§

ContentStyleType

§

Cursor

§

Cx

§

Cy

§

D

§

Decelerate

No MDN Documentation available for this attribute

§

Descent

§

DiffuseConstant

§

Direction

§

Display

§

Divisor

§

DominantBaseline

§

Dur

§

Dx

§

Dy

§

EdgeMode

§

Elevation

§

EnableBackground

§

End

§

Exponent

§

ExternalResourcesRequired

§

Fill

§

FillOpacity

§

FillRule

§

Filter

§

FilterRes

§

FilterUnits

§

FloodColor

§

FloodOpacity

§

FontFamily

§

FontSize

§

FontSizeadjust

§

FontStretch

§

FontStyle

§

FontVariant

§

FontWeight

§

Format

§

From

§

Fr

§

Fx

§

Fy

§

G1

§

G2

§

GlyphName

§

GlyphOrientationhorizontal

§

GlyphOrientationvertical

§

GlyphRef

§

GradientTransform

§

GradientUnits

§

Hanging

§

Height

§

Href

§

Hreflang

No MDN Documentation available for this attribute

§

HorizAdvx

§

HorizOriginx

§

Id

§

Ideographic

No MDN Documentation available for this attribute

§

ImageRendering

§

In

§

In2

§

Intercept

§

K

§

K1

§

K2

§

K3

§

K4

§

KernelMatrix

§

KernelUnitLength

§

Kerning

§

KeyPoints

§

KeySplines

§

KeyTimes

§

Lang

No MDN Documentation available for this attribute

§

LengthAdjust

§

LetterSpacing

§

LightingColor

§

LimitingConeAngle

§

Local

§

MarkerEnd

§

MarkerMid

§

MarkerStart

§

MarkerHeight

§

MarkerUnits

§

MarkerWidth

§

Mask

§

MaskContentUnits

§

MaskUnits

§

Mathematical

§

Max

§

Media

§

Method

§

Min

§

Mode

§

Name

§

NumOctaves

§

Offset

No MDN Documentation available for this attribute

§

Opacity

§

Operator

§

Order

§

Orient

No MDN Documentation available for this attribute

§

Orientation

§

Origin

No MDN Documentation available for this attribute

§

Overflow

§

OverlinePosition

§

OverlineThickness

§

Panose1

§

PaintOrder

§

Path

§

PathLength

§

PatternContentUnits

§

PatternTransform

§

PatternUnits

§

Ping

No MDN Documentation available for this attribute

§

PointerEvents

§

Points

§

PointsAtX

§

PointsAtY

§

PointsAtZ

§

PreserveAlpha

§

PreserveAspectRatio

§

PrimitiveUnits

§

R

§

Radius

§

ReferrerPolicy

No MDN Documentation available for this attribute

§

RefX

§

RefY

§

Rel

No MDN Documentation available for this attribute

§

RenderingIntent

§

RepeatCount

§

RepeatDur

§

RequiredExtensions

No MDN Documentation available for this attribute

§

RequiredFeatures

§

Restart

§

Result

§

Rotate

No MDN Documentation available for this attribute

§

Rx

§

Ry

§

Slope

No MDN Documentation available for this attribute

§

Spacing

§

SpecularConstant

§

SpecularExponent

§

Speed

No MDN Documentation available for this attribute

§

SpreadMethod

§

StartOffset

No MDN Documentation available for this attribute

§

StdDeviation

§

Stemh

§

Stemv

§

StitchTiles

§

StopColor

§

StopOpacity

§

StrikethroughPosition

§

StrikethroughThickness

§

String

No MDN Documentation available for this attribute

§

Stroke

§

StrokeDasharray

§

StrokeDashoffset

§

StrokeLinecap

§

StrokeLinejoin

§

StrokeMiterlimit

§

StrokeOpacity

§

StrokeWidth

§

Style

§

SurfaceScale

§

SystemLanguage

§

Tabindex

§

TableValues

No MDN Documentation available for this attribute

§

Target

§

TargetX

§

TargetY

§

TextAnchor

§

TextDecoration

§

TextRendering

§

TextLength

§

To

§

Transform

§

Type

§

U1

§

U2

§

UnderlinePosition

§

UnderlineThickness

§

Unicode

§

UnicodeBidi

No MDN Documentation available for this attribute

§

UnicodeRange

§

UnitsPerem

§

VAlphabetic

§

VHanging

§

VIdeographic

§

VMathematical

§

Values

§

VectorEffect

§

Version

§

VertAdvy

§

VertOriginx

§

VertOriginy

§

ViewBox

§

ViewTarget

§

Visibility

§

Width

§

Widths

§

WordSpacing

§

WritingMode

§

X

§

XHeight

§

X1

§

X2

§

XChannelSelector

§

XlinkActuate

No MDN Documentation available for this attribute

§

XlinkArcrole

No MDN Documentation available for this attribute

§

XlinkHref

§

XlinkRole

No MDN Documentation available for this attribute

§

XlinkShow

§

XlinkTitle

§

XlinkType

No MDN Documentation available for this attribute

§

XmlBase

No MDN Documentation available for this attribute

§

XmlLang

§

XmlSpace

§

Y

§

Y1

§

Y2

§

YChannelSelector

§

Z

§

ZoomAndPan

No MDN Documentation available for this attribute

§

UnmappedAttribute(String)

For all attributes which are not direct svg attributes

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. 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 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
Converts the given value to a String. Read more

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
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.