Enum lyon_svg::parser::ElementId
[−]
[src]
pub enum ElementId {
A,
AltGlyph,
AltGlyphDef,
AltGlyphItem,
Animate,
AnimateColor,
AnimateMotion,
AnimateTransform,
Circle,
ClipPath,
ColorProfile,
Cursor,
Defs,
Desc,
Ellipse,
FeBlend,
FeColorMatrix,
FeComponentTransfer,
FeComposite,
FeConvolveMatrix,
FeDiffuseLighting,
FeDisplacementMap,
FeDistantLight,
FeFlood,
FeFuncA,
FeFuncB,
FeFuncG,
FeFuncR,
FeGaussianBlur,
FeImage,
FeMerge,
FeMergeNode,
FeMorphology,
FeOffset,
FePointLight,
FeSpecularLighting,
FeSpotLight,
FeTile,
FeTurbulence,
Filter,
FlowPara,
FlowRegion,
FlowRoot,
FlowSpan,
Font,
FontFace,
FontFaceFormat,
FontFaceName,
FontFaceSrc,
FontFaceUri,
ForeignObject,
G,
Glyph,
GlyphRef,
Hkern,
Image,
Line,
LinearGradient,
Marker,
Mask,
Metadata,
MissingGlyph,
Mpath,
Path,
Pattern,
Polygon,
Polyline,
RadialGradient,
Rect,
Script,
Set,
Stop,
Style,
Svg,
Switch,
Symbol,
Text,
TextPath,
Title,
Tref,
Tspan,
Use,
View,
Vkern,
}List of all SVG elements.
Variants
AAltGlyphAltGlyphDefAltGlyphItemAnimateAnimateColorAnimateMotionAnimateTransformCircleClipPathColorProfileCursorDefsDescEllipseFeBlendFeColorMatrixFeComponentTransferFeCompositeFeConvolveMatrixFeDiffuseLightingFeDisplacementMapFeDistantLightFeFloodFeFuncAFeFuncBFeFuncGFeFuncRFeGaussianBlurFeImageFeMergeFeMergeNodeFeMorphologyFeOffsetFePointLightFeSpecularLightingFeSpotLightFeTileFeTurbulenceFilterFlowParaFlowRegionFlowRootFlowSpanFontFontFaceFontFaceFormatFontFaceNameFontFaceSrcFontFaceUriForeignObjectGGlyphGlyphRefHkernImageLineLinearGradientMarkerMaskMetadataMissingGlyphMpathPathPatternPolygonPolylineRadialGradientRectScriptSetStopStyleSvgSwitchSymbolTextTextPathTitleTrefTspanUseViewVkernMethods
impl ElementId
fn from_name(text: &str) -> Option<ElementId>
Converts name into id.
fn name(&self) -> &str
Converts id into name.
Trait Implementations
impl Copy for ElementId
impl PartialEq<ElementId> for ElementId
fn eq(&self, __arg_0: &ElementId) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Debug for ElementId
impl Clone for ElementId
fn clone(&self) -> ElementId
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more