[][src]Enum svgdom::AttributeId

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

AccentHeightAccumulateActuateAdditiveAlignmentBaselineAlphabeticAmplitudeArabicFormArcroleAscentAttributeNameAttributeTypeAzimuthBaseBaseFrequencyBaselineShiftBaseProfileBboxBeginBiasByCalcModeCapHeightClassClipClipPathClipRuleClipPathUnitsColorColorInterpolationColorInterpolationFiltersColorProfileColorRenderingContentScriptTypeContentStyleTypeCursorCxCyDDescentDiffuseConstantDirectionDisplayDivisorDominantBaselineDurDxDyEdgeModeElevationEnableBackgroundEncodingEndExponentExternalResourcesRequiredFillFillOpacityFillRuleFilterFilterResFilterUnitsFloodColorFloodOpacityFontFontFamilyFontSizeFontSizeAdjustFontStretchFontStyleFontVariantFontWeightFormatFromFxFyG1G2GlyphNameGlyphOrientationHorizontalGlyphOrientationVerticalGlyphRefGradientTransformGradientUnitsHangingHeightHorizAdvXHorizOriginXHorizOriginYHrefIdIdeographicImageRenderingInIn2InterceptKK1K2K3K4KernelMatrixKernelUnitLengthKerningKeyPointsKeySplinesKeyTimesLangLengthAdjustLetterSpacingLightingColorLimitingConeAngleLineHeightLocalMarkerMarkerEndMarkerMidMarkerStartMarkerHeightMarkerUnitsMarkerWidthMaskMaskContentUnitsMaskUnitsMathematicalMaxMediaMethodMinModeNameNumOctavesOffsetOnabortOnactivateOnbeginOnclickOnendOnerrorOnfocusinOnfocusoutOnloadOnmousedownOnmousemoveOnmouseoutOnmouseoverOnmouseupOnrepeatOnresizeOnscrollOnunloadOnzoomOpacityOperatorOrderOrientOrientationOriginOverflowOverlinePositionOverlineThicknessPanose1PathPathLengthPatternContentUnitsPatternTransformPatternUnitsPointerEventsPointsPointsAtXPointsAtYPointsAtZPreserveAlphaPreserveAspectRatioPrimitiveUnitsRRadiusRefXRefYRenderingIntentRepeatCountRepeatDurRequiredExtensionsRequiredFeaturesRestartResultRoleRotateRxRyScaleSeedShapeRenderingShowSlopeSpaceSpacingSpecularConstantSpecularExponentSpreadMethodStandaloneStartOffsetStdDeviationStemhStemvStitchTilesStopColorStopOpacityStrikethroughPositionStrikethroughThicknessStringStrokeStrokeDasharrayStrokeDashoffsetStrokeLinecapStrokeLinejoinStrokeMiterlimitStrokeOpacityStrokeWidthStyleSurfaceScaleSystemLanguageTableValuesTargetTargetXTargetYTextAnchorTextDecorationTextRenderingTextLengthTitleToTransformTypeU1U2UnderlinePositionUnderlineThicknessUnicodeUnicodeBidiUnicodeRangeUnitsPerEmVAlphabeticVHangingVIdeographicVMathematicalValuesVersionVertAdvYVertOriginXVertOriginYViewBoxViewTargetVisibilityWidthWidthsWordSpacingWritingModeXXHeightX1X2XChannelSelectorXlinkXmlnsYY1Y2YChannelSelectorZZoomAndPan

Methods

impl AttributeId[src]

pub fn from_str(text: &str) -> Option<AttributeId>[src]

Converts name into id.

pub fn as_str(&self) -> &str[src]

Converts id into name.

Trait Implementations

impl Hash for AttributeId[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialOrd<AttributeId> for AttributeId[src]

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Eq for AttributeId[src]

impl Debug for AttributeId[src]

impl Display for AttributeId[src]

impl Ord for AttributeId[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl Clone for AttributeId[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for AttributeId[src]

impl PartialEq<AttributeId> for AttributeId[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl SvgId for AttributeId[src]

impl AttributeType for AttributeId[src]

Auto Trait Implementations

impl Send for AttributeId

impl Sync for AttributeId

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]