pub struct Symbol { /* private fields */ }
Expand description

Implementations

Create a new, empty tag.

Set the class attribute.

Set the class attribute.

Get the class attribute.

Set the externalResourcesRequired attribute.

Set the externalResourcesRequired attribute.

Get the externalResourcesRequired attribute.

Set the preserveAspectRatio attribute.

Set the preserveAspectRatio attribute.

Get the preserveAspectRatio attribute.

Set the style attribute.

Set the style attribute.

Get the style attribute.

Set the viewBox attribute.

Set the viewBox attribute.

Get the viewBox attribute.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Set the id attribute.

Set the id attribute.

Get the id attribute.

Set the lang attribute.

Set the lang attribute.

Get the lang attribute.

Set the tabindex attribute.

Set the tabindex attribute.

Get the tabindex attribute.

Set the xml:base attribute.

Set the xml:base attribute.

Get the xml:base attribute.

Set the xml:lang attribute.

Set the xml:lang attribute.

Get the xml:lang attribute.

Set the xml:space attribute.

Set the xml:space attribute.

Get the xml:space attribute.

Set the oncancel attribute.

Set the oncancel attribute.

Get the oncancel attribute.

Set the oncanplay attribute.

Set the oncanplay attribute.

Get the oncanplay attribute.

Set the oncanplaythrough attribute.

Set the oncanplaythrough attribute.

Get the oncanplaythrough attribute.

Set the onchange attribute.

Set the onchange attribute.

Get the onchange attribute.

Set the onclick attribute.

Set the onclick attribute.

Get the onclick attribute.

Set the onclose attribute.

Set the onclose attribute.

Get the onclose attribute.

Set the oncuechange attribute.

Set the oncuechange attribute.

Get the oncuechange attribute.

Set the ondblclick attribute.

Set the ondblclick attribute.

Get the ondblclick attribute.

Set the ondrag attribute.

Set the ondrag attribute.

Get the ondrag attribute.

Set the ondragend attribute.

Set the ondragend attribute.

Get the ondragend attribute.

Set the ondragenter attribute.

Set the ondragenter attribute.

Get the ondragenter attribute.

Set the ondragleave attribute.

Set the ondragleave attribute.

Get the ondragleave attribute.

Set the ondragover attribute.

Set the ondragover attribute.

Get the ondragover attribute.

Set the ondragstart attribute.

Set the ondragstart attribute.

Get the ondragstart attribute.

Set the ondrop attribute.

Set the ondrop attribute.

Get the ondrop attribute.

Set the ondurationchange attribute.

Set the ondurationchange attribute.

Get the ondurationchange attribute.

Set the onemptied attribute.

Set the onemptied attribute.

Get the onemptied attribute.

Set the onended attribute.

Set the onended attribute.

Get the onended attribute.

Set the onerror attribute.

Set the onerror attribute.

Get the onerror attribute.

Set the onfocus attribute.

Set the onfocus attribute.

Get the onfocus attribute.

Set the oninput attribute.

Set the oninput attribute.

Get the oninput attribute.

Set the oninvalid attribute.

Set the oninvalid attribute.

Get the oninvalid attribute.

Set the onkeydown attribute.

Set the onkeydown attribute.

Get the onkeydown attribute.

Set the onkeypress attribute.

Set the onkeypress attribute.

Get the onkeypress attribute.

Set the onkeyup attribute.

Set the onkeyup attribute.

Get the onkeyup attribute.

Set the onload attribute.

Set the onload attribute.

Get the onload attribute.

Set the onloadeddata attribute.

Set the onloadeddata attribute.

Get the onloadeddata attribute.

Set the onloadedmetadata attribute.

Set the onloadedmetadata attribute.

Get the onloadedmetadata attribute.

Set the onloadstart attribute.

Set the onloadstart attribute.

Get the onloadstart attribute.

Set the onmousedown attribute.

Set the onmousedown attribute.

Get the onmousedown attribute.

Set the onmouseenter attribute.

Set the onmouseenter attribute.

Get the onmouseenter attribute.

Set the onmouseleave attribute.

Set the onmouseleave attribute.

Get the onmouseleave attribute.

Set the onmousemove attribute.

Set the onmousemove attribute.

Get the onmousemove attribute.

Set the onmouseout attribute.

Set the onmouseout attribute.

Get the onmouseout attribute.

Set the onmouseover attribute.

Set the onmouseover attribute.

Get the onmouseover attribute.

Set the onmouseup attribute.

Set the onmouseup attribute.

Get the onmouseup attribute.

Set the onmousewheel attribute.

Set the onmousewheel attribute.

Get the onmousewheel attribute.

Set the onpause attribute.

Set the onpause attribute.

Get the onpause attribute.

Set the onplay attribute.

Set the onplay attribute.

Get the onplay attribute.

Set the onplaying attribute.

Set the onplaying attribute.

Get the onplaying attribute.

Set the onprogress attribute.

Set the onprogress attribute.

Get the onprogress attribute.

Set the onratechange attribute.

Set the onratechange attribute.

Get the onratechange attribute.

Set the onreset attribute.

Set the onreset attribute.

Get the onreset attribute.

Set the onresize attribute.

Set the onresize attribute.

Get the onresize attribute.

Set the onscroll attribute.

Set the onscroll attribute.

Get the onscroll attribute.

Set the onseeked attribute.

Set the onseeked attribute.

Get the onseeked attribute.

Set the onseeking attribute.

Set the onseeking attribute.

Get the onseeking attribute.

Set the onselect attribute.

Set the onselect attribute.

Get the onselect attribute.

Set the onshow attribute.

Set the onshow attribute.

Get the onshow attribute.

Set the onstalled attribute.

Set the onstalled attribute.

Get the onstalled attribute.

Set the onsubmit attribute.

Set the onsubmit attribute.

Get the onsubmit attribute.

Set the onsuspend attribute.

Set the onsuspend attribute.

Get the onsuspend attribute.

Set the ontimeupdate attribute.

Set the ontimeupdate attribute.

Get the ontimeupdate attribute.

Set the ontoggle attribute.

Set the ontoggle attribute.

Get the ontoggle attribute.

Set the onvolumechange attribute.

Set the onvolumechange attribute.

Get the onvolumechange attribute.

Set the onwaiting attribute.

Set the onwaiting attribute.

Get the onwaiting attribute.

Set the onactivate attribute.

Set the onactivate attribute.

Get the onactivate attribute.

Set the onfocusin attribute.

Set the onfocusin attribute.

Get the onfocusin attribute.

Set the onfocusout attribute.

Set the onfocusout attribute.

Get the onfocusout attribute.

Set the alignment-baseline attribute.

Set the alignment-baseline attribute.

Get the alignment-baseline attribute.

Set the baseline-shift attribute.

Set the baseline-shift attribute.

Get the baseline-shift attribute.

Set the clip attribute.

Set the clip attribute.

Get the clip attribute.

Set the clip-path attribute.

Set the clip-path attribute.

Get the clip-path attribute.

Set the clip-rule attribute.

Set the clip-rule attribute.

Get the clip-rule attribute.

Set the color attribute.

Set the color attribute.

Get the color attribute.

Set the color-interpolation attribute.

Set the color-interpolation attribute.

Get the color-interpolation attribute.

Set the color-interpolation-filters attribute.

Set the color-interpolation-filters attribute.

Get the color-interpolation-filters attribute.

Set the color-profile attribute.

Set the color-profile attribute.

Get the color-profile attribute.

Set the color-rendering attribute.

Set the color-rendering attribute.

Get the color-rendering attribute.

Set the cursor attribute.

Set the cursor attribute.

Get the cursor attribute.

Set the direction attribute.

Set the direction attribute.

Get the direction attribute.

Set the display attribute.

Set the display attribute.

Get the display attribute.

Set the dominant-baseline attribute.

Set the dominant-baseline attribute.

Get the dominant-baseline attribute.

Set the enable-background attribute.

Set the enable-background attribute.

Get the enable-background attribute.

Set the fill attribute.

Set the fill attribute.

Get the fill attribute.

Set the fill-opacity attribute.

Set the fill-opacity attribute.

Get the fill-opacity attribute.

Set the fill-rule attribute.

Set the fill-rule attribute.

Get the fill-rule attribute.

Set the filter attribute.

Set the filter attribute.

Get the filter attribute.

Set the flood-color attribute.

Set the flood-color attribute.

Get the flood-color attribute.

Set the flood-opacity attribute.

Set the flood-opacity attribute.

Get the flood-opacity attribute.

Set the font-family attribute.

Set the font-family attribute.

Get the font-family attribute.

Set the font-size attribute.

Set the font-size attribute.

Get the font-size attribute.

Set the font-size-adjust attribute.

Set the font-size-adjust attribute.

Get the font-size-adjust attribute.

Set the font-stretch attribute.

Set the font-stretch attribute.

Get the font-stretch attribute.

Set the font-style attribute.

Set the font-style attribute.

Get the font-style attribute.

Set the font-variant attribute.

Set the font-variant attribute.

Get the font-variant attribute.

Set the font-weight attribute.

Set the font-weight attribute.

Get the font-weight attribute.

Set the glyph-orientation-horizontal attribute.

Set the glyph-orientation-horizontal attribute.

Get the glyph-orientation-horizontal attribute.

Set the glyph-orientation-vertical attribute.

Set the glyph-orientation-vertical attribute.

Get the glyph-orientation-vertical attribute.

Set the image-rendering attribute.

Set the image-rendering attribute.

Get the image-rendering attribute.

Set the kerning attribute.

Set the kerning attribute.

Get the kerning attribute.

Set the letter-spacing attribute.

Set the letter-spacing attribute.

Get the letter-spacing attribute.

Set the lighting-color attribute.

Set the lighting-color attribute.

Get the lighting-color attribute.

Set the marker-end attribute.

Set the marker-end attribute.

Get the marker-end attribute.

Set the marker-mid attribute.

Set the marker-mid attribute.

Get the marker-mid attribute.

Set the marker-start attribute.

Set the marker-start attribute.

Get the marker-start attribute.

Set the mask attribute.

Set the mask attribute.

Get the mask attribute.

Set the opacity attribute.

Set the opacity attribute.

Get the opacity attribute.

Set the overflow attribute.

Set the overflow attribute.

Get the overflow attribute.

Set the pointer-events attribute.

Set the pointer-events attribute.

Get the pointer-events attribute.

Set the shape-rendering attribute.

Set the shape-rendering attribute.

Get the shape-rendering attribute.

Set the stop-color attribute.

Set the stop-color attribute.

Get the stop-color attribute.

Set the stop-opacity attribute.

Set the stop-opacity attribute.

Get the stop-opacity attribute.

Set the stroke attribute.

Set the stroke attribute.

Get the stroke attribute.

Set the stroke-dasharray attribute.

Set the stroke-dasharray attribute.

Get the stroke-dasharray attribute.

Set the stroke-dashoffset attribute.

Set the stroke-dashoffset attribute.

Get the stroke-dashoffset attribute.

Set the stroke-linecap attribute.

Set the stroke-linecap attribute.

Get the stroke-linecap attribute.

Set the stroke-linejoin attribute.

Set the stroke-linejoin attribute.

Get the stroke-linejoin attribute.

Set the stroke-miterlimit attribute.

Set the stroke-miterlimit attribute.

Get the stroke-miterlimit attribute.

Set the stroke-opacity attribute.

Set the stroke-opacity attribute.

Get the stroke-opacity attribute.

Set the stroke-width attribute.

Set the stroke-width attribute.

Get the stroke-width attribute.

Set the text-anchor attribute.

Set the text-anchor attribute.

Get the text-anchor attribute.

Set the text-decoration attribute.

Set the text-decoration attribute.

Get the text-decoration attribute.

Set the text-rendering attribute.

Set the text-rendering attribute.

Get the text-rendering attribute.

Set the transform attribute.

Set the transform attribute.

Get the transform attribute.

Set the transform-origin attribute.

Set the transform-origin attribute.

Get the transform-origin attribute.

Set the unicode-bidi attribute.

Set the unicode-bidi attribute.

Get the unicode-bidi attribute.

Set the vector-effect attribute.

Set the vector-effect attribute.

Get the vector-effect attribute.

Set the visibility attribute.

Set the visibility attribute.

Get the visibility attribute.

Set the word-spacing attribute.

Set the word-spacing attribute.

Get the word-spacing attribute.

Set the writing-mode attribute.

Set the writing-mode attribute.

Get the writing-mode attribute.

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