Enum svgdom::AttributeId [−][src]
pub enum AttributeId { 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, }
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
Xlink
Xmlns
Y
Y1
Y2
YChannelSelector
Z
ZoomAndPan
Methods
impl AttributeId
[src]
impl AttributeId
pub fn from_str(text: &str) -> Option<AttributeId>
[src]
pub fn from_str(text: &str) -> Option<AttributeId>
Converts name into id.
pub fn as_str(&self) -> &str
[src]
pub fn as_str(&self) -> &str
Converts id into name.
Trait Implementations
impl PartialOrd<AttributeId> for AttributeId
[src]
impl PartialOrd<AttributeId> for AttributeId
fn partial_cmp(&self, other: &AttributeId) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &AttributeId) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Hash for AttributeId
[src]
impl Hash for AttributeId
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Display for AttributeId
[src]
impl Display for AttributeId
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Clone for AttributeId
[src]
impl Clone for AttributeId
fn clone(&self) -> AttributeId
[src]
fn clone(&self) -> AttributeId
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for AttributeId
[src]
impl Debug for AttributeId
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for AttributeId
[src]
impl Copy for AttributeId
impl Ord for AttributeId
[src]
impl Ord for AttributeId
fn cmp(&self, other: &AttributeId) -> Ordering
[src]
fn cmp(&self, other: &AttributeId) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl Eq for AttributeId
[src]
impl Eq for AttributeId
impl PartialEq<AttributeId> for AttributeId
[src]
impl PartialEq<AttributeId> for AttributeId
fn eq(&self, other: &AttributeId) -> bool
[src]
fn eq(&self, other: &AttributeId) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl SvgId for AttributeId
[src]
impl SvgId for AttributeId
impl AttributeType for AttributeId
[src]
impl AttributeType for AttributeId
fn is_presentation(&self) -> bool
[src]
fn is_presentation(&self) -> bool
Returns true
if the current attribute is part of presentation attributes. Read more
fn is_inheritable(&self) -> bool
[src]
fn is_inheritable(&self) -> bool
Returns true
if the current attribute is part of inheritable presentation attributes. Read more
fn is_animation_event(&self) -> bool
[src]
fn is_animation_event(&self) -> bool
Returns true
if the current attribute is part of animation event attributes. Read more
fn is_graphical_event(&self) -> bool
[src]
fn is_graphical_event(&self) -> bool
Returns true
if the current attribute is part of graphical event attributes. Read more
fn is_document_event(&self) -> bool
[src]
fn is_document_event(&self) -> bool
Returns true
if the current attribute is part of document event attributes. Read more
fn is_conditional_processing(&self) -> bool
[src]
fn is_conditional_processing(&self) -> bool
Returns true
if the current attribute is part of conditional processing attributes . Read more
fn is_core(&self) -> bool
[src]
fn is_core(&self) -> bool
Returns true
if the current attribute is part of core attributes. Read more
fn is_fill(&self) -> bool
[src]
fn is_fill(&self) -> bool
Returns true
if the current attribute is part of fill attributes. Read more
fn is_stroke(&self) -> bool
[src]
fn is_stroke(&self) -> bool
Returns true
if the current attribute is part of stroke attributes. Read more
Auto Trait Implementations
impl Send for AttributeId
impl Send for AttributeId
impl Sync for AttributeId
impl Sync for AttributeId