pub struct Svg { /* private fields */ }
Expand description
The <svg>
svg tag.
Content
anyNumberOfElementsAnyOrder
Elements
These elements are allowed to appear within this tag:
<a>
<altGlyphDef>
<animate>
<animateColor>
<animateMotion>
<animateTransform>
<circle>
<clipPath>
<color-profile>
<cursor>
<defs>
<desc>
<discard>
<ellipse>
<filter>
<font>
<font-face>
<foreignObject>
<g>
<image>
<line>
<linearGradient>
<marker>
<mask>
<metadata>
<mpath>
<path>
<pattern>
<polygon>
<polyline>
<radialGradient>
<rect>
<script>
<set>
<stop>
<style>
<svg>
<switch>
<symbol>
<text>
<title>
<use>
<view>
Implementations
sourceimpl Svg
impl Svg
pub fn push<T>(&mut self, content: T) where
T: Content + 'static,
pub fn append<T>(self, content: T) -> Self where
T: Content + 'static,
sourcepub fn with_base_profile<V>(self, value: V) -> Self where
V: Value + 'static,
pub fn with_base_profile<V>(self, value: V) -> Self where
V: Value + 'static,
Set the baseProfile
attribute.
sourcepub fn set_base_profile<V>(&mut self, value: V) where
V: Value + 'static,
pub fn set_base_profile<V>(&mut self, value: V) where
V: Value + 'static,
Set the baseProfile
attribute.
sourcepub fn base_profile(&self) -> Option<&dyn Value>
pub fn base_profile(&self) -> Option<&dyn Value>
Get the baseProfile
attribute.
sourcepub fn with_class<V>(self, value: V) -> Self where
V: Value + 'static,
pub fn with_class<V>(self, value: V) -> Self where
V: Value + 'static,
Set the class
attribute.
sourcepub fn with_content_script_type<V>(self, value: V) -> Self where
V: Value + 'static,
pub fn with_content_script_type<V>(self, value: V) -> Self where
V: Value + 'static,
Set the contentScriptType
attribute.
sourcepub fn set_content_script_type<V>(&mut self, value: V) where
V: Value + 'static,
pub fn set_content_script_type<V>(&mut self, value: V) where
V: Value + 'static,
Set the contentScriptType
attribute.
sourcepub fn content_script_type(&self) -> Option<&dyn Value>
pub fn content_script_type(&self) -> Option<&dyn Value>
Get the contentScriptType
attribute.
sourcepub fn with_content_style_type<V>(self, value: V) -> Self where
V: Value + 'static,
pub fn with_content_style_type<V>(self, value: V) -> Self where
V: Value + 'static,
Set the contentStyleType
attribute.
sourcepub fn set_content_style_type<V>(&mut self, value: V) where
V: Value + 'static,
pub fn set_content_style_type<V>(&mut self, value: V) where
V: Value + 'static,
Set the contentStyleType
attribute.
sourcepub fn content_style_type(&self) -> Option<&dyn Value>
pub fn content_style_type(&self) -> Option<&dyn Value>
Get the contentStyleType
attribute.
sourcepub fn with_external_resources_required<V>(self, value: V) -> Self where
V: Value + 'static,
pub fn with_external_resources_required<V>(self, value: V) -> Self where
V: Value + 'static,
Set the externalResourcesRequired
attribute.
sourcepub fn set_external_resources_required<V>(&mut self, value: V) where
V: Value + 'static,
pub fn set_external_resources_required<V>(&mut self, value: V) where
V: Value + 'static,
Set the externalResourcesRequired
attribute.
sourcepub fn external_resources_required(&self) -> Option<&dyn Value>
pub fn external_resources_required(&self) -> Option<&dyn Value>
Get the externalResourcesRequired
attribute.
sourcepub fn with_height<V>(self, value: V) -> Self where
V: Value + 'static,
pub fn with_height<V>(self, value: V) -> Self where
V: Value + 'static,
Set the height
attribute.
sourcepub fn set_height<V>(&mut self, value: V) where
V: Value + 'static,
pub fn set_height<V>(&mut self, value: V) where
V: Value + 'static,
Set the height
attribute.
sourcepub fn with_preserve_aspect_ratio<V>(self, value: V) -> Self where
V: Value + 'static,
pub fn with_preserve_aspect_ratio<V>(self, value: V) -> Self where
V: Value + 'static,
Set the preserveAspectRatio
attribute.
sourcepub fn set_preserve_aspect_ratio<V>(&mut self, value: V) where
V: Value + 'static,
pub fn set_preserve_aspect_ratio<V>(&mut self, value: V) where
V: Value + 'static,
Set the preserveAspectRatio
attribute.
sourcepub fn preserve_aspect_ratio(&self) -> Option<&dyn Value>
pub fn preserve_aspect_ratio(&self) -> Option<&dyn Value>
Get the preserveAspectRatio
attribute.
sourcepub fn with_style<V>(self, value: V) -> Self where
V: Value + 'static,
pub fn with_style<V>(self, value: V) -> Self where
V: Value + 'static,
Set the style
attribute.
sourcepub fn with_version<V>(self, value: V) -> Self where
V: Value + 'static,
pub fn with_version<V>(self, value: V) -> Self where
V: Value + 'static,
Set the version
attribute.
sourcepub fn set_version<V>(&mut self, value: V) where
V: Value + 'static,
pub fn set_version<V>(&mut self, value: V) where
V: Value + 'static,
Set the version
attribute.
sourcepub fn with_view_box<V>(self, value: V) -> Self where
V: Value + 'static,
pub fn with_view_box<V>(self, value: V) -> Self where
V: Value + 'static,
Set the viewBox
attribute.
sourcepub fn set_view_box<V>(&mut self, value: V) where
V: Value + 'static,
pub fn set_view_box<V>(&mut self, value: V) where
V: Value + 'static,
Set the viewBox
attribute.
sourcepub fn with_width<V>(self, value: V) -> Self where
V: Value + 'static,
pub fn with_width<V>(self, value: V) -> Self where
V: Value + 'static,
Set the width
attribute.
Trait Implementations
sourceimpl TagWithConditionalProcessingAttributes for Svg
impl TagWithConditionalProcessingAttributes for Svg
sourcefn with_required_extensions<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_required_extensions<V>(self, value: V) -> Self where
V: Value + 'static,
Set the requiredExtensions
attribute.
sourcefn set_required_extensions<V>(&mut self, value: V) where
V: Value + 'static,
fn set_required_extensions<V>(&mut self, value: V) where
V: Value + 'static,
Set the requiredExtensions
attribute.
sourcefn required_extensions(&self) -> Option<&dyn Value>
fn required_extensions(&self) -> Option<&dyn Value>
Get the requiredExtensions
attribute.
sourcefn with_required_features<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_required_features<V>(self, value: V) -> Self where
V: Value + 'static,
Set the requiredFeatures
attribute.
sourcefn set_required_features<V>(&mut self, value: V) where
V: Value + 'static,
fn set_required_features<V>(&mut self, value: V) where
V: Value + 'static,
Set the requiredFeatures
attribute.
sourcefn required_features(&self) -> Option<&dyn Value>
fn required_features(&self) -> Option<&dyn Value>
Get the requiredFeatures
attribute.
sourcefn with_system_language<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_system_language<V>(self, value: V) -> Self where
V: Value + 'static,
Set the systemLanguage
attribute.
sourcefn set_system_language<V>(&mut self, value: V) where
V: Value + 'static,
fn set_system_language<V>(&mut self, value: V) where
V: Value + 'static,
Set the systemLanguage
attribute.
sourcefn system_language(&self) -> Option<&dyn Value>
fn system_language(&self) -> Option<&dyn Value>
Get the systemLanguage
attribute.
sourceimpl TagWithCoreAttributes for Svg
impl TagWithCoreAttributes for Svg
sourcefn with_tabindex<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_tabindex<V>(self, value: V) -> Self where
V: Value + 'static,
Set the tabindex
attribute.
sourcefn set_tabindex<V>(&mut self, value: V) where
V: Value + 'static,
fn set_tabindex<V>(&mut self, value: V) where
V: Value + 'static,
Set the tabindex
attribute.
sourcefn with_xml_base<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_xml_base<V>(self, value: V) -> Self where
V: Value + 'static,
Set the xml:base
attribute.
sourcefn set_xml_base<V>(&mut self, value: V) where
V: Value + 'static,
fn set_xml_base<V>(&mut self, value: V) where
V: Value + 'static,
Set the xml:base
attribute.
sourcefn with_xml_lang<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_xml_lang<V>(self, value: V) -> Self where
V: Value + 'static,
Set the xml:lang
attribute.
sourcefn set_xml_lang<V>(&mut self, value: V) where
V: Value + 'static,
fn set_xml_lang<V>(&mut self, value: V) where
V: Value + 'static,
Set the xml:lang
attribute.
sourcefn with_xml_space<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_xml_space<V>(self, value: V) -> Self where
V: Value + 'static,
Set the xml:space
attribute.
sourcefn set_xml_space<V>(&mut self, value: V) where
V: Value + 'static,
fn set_xml_space<V>(&mut self, value: V) where
V: Value + 'static,
Set the xml:space
attribute.
sourceimpl TagWithDocumentEventAttributes for Svg
impl TagWithDocumentEventAttributes for Svg
sourcefn with_onabort<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onabort<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onabort
attribute.
sourcefn set_onabort<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onabort<V>(&mut self, value: V) where
V: Value + 'static,
Set the onabort
attribute.
sourcefn with_onerror<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onerror<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onerror
attribute.
sourcefn set_onerror<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onerror<V>(&mut self, value: V) where
V: Value + 'static,
Set the onerror
attribute.
sourcefn with_onresize<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onresize<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onresize
attribute.
sourcefn set_onresize<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onresize<V>(&mut self, value: V) where
V: Value + 'static,
Set the onresize
attribute.
sourcefn with_onscroll<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onscroll<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onscroll
attribute.
sourcefn set_onscroll<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onscroll<V>(&mut self, value: V) where
V: Value + 'static,
Set the onscroll
attribute.
sourcefn with_onunload<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onunload<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onunload
attribute.
sourcefn set_onunload<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onunload<V>(&mut self, value: V) where
V: Value + 'static,
Set the onunload
attribute.
sourceimpl TagWithGlobalEventAttributes for Svg
impl TagWithGlobalEventAttributes for Svg
sourcefn with_oncancel<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_oncancel<V>(self, value: V) -> Self where
V: Value + 'static,
Set the oncancel
attribute.
sourcefn set_oncancel<V>(&mut self, value: V) where
V: Value + 'static,
fn set_oncancel<V>(&mut self, value: V) where
V: Value + 'static,
Set the oncancel
attribute.
sourcefn with_oncanplay<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_oncanplay<V>(self, value: V) -> Self where
V: Value + 'static,
Set the oncanplay
attribute.
sourcefn set_oncanplay<V>(&mut self, value: V) where
V: Value + 'static,
fn set_oncanplay<V>(&mut self, value: V) where
V: Value + 'static,
Set the oncanplay
attribute.
sourcefn with_oncanplaythrough<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_oncanplaythrough<V>(self, value: V) -> Self where
V: Value + 'static,
Set the oncanplaythrough
attribute.
sourcefn set_oncanplaythrough<V>(&mut self, value: V) where
V: Value + 'static,
fn set_oncanplaythrough<V>(&mut self, value: V) where
V: Value + 'static,
Set the oncanplaythrough
attribute.
sourcefn oncanplaythrough(&self) -> Option<&dyn Value>
fn oncanplaythrough(&self) -> Option<&dyn Value>
Get the oncanplaythrough
attribute.
sourcefn with_onchange<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onchange<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onchange
attribute.
sourcefn set_onchange<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onchange<V>(&mut self, value: V) where
V: Value + 'static,
Set the onchange
attribute.
sourcefn with_onclick<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onclick<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onclick
attribute.
sourcefn set_onclick<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onclick<V>(&mut self, value: V) where
V: Value + 'static,
Set the onclick
attribute.
sourcefn with_onclose<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onclose<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onclose
attribute.
sourcefn set_onclose<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onclose<V>(&mut self, value: V) where
V: Value + 'static,
Set the onclose
attribute.
sourcefn with_oncuechange<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_oncuechange<V>(self, value: V) -> Self where
V: Value + 'static,
Set the oncuechange
attribute.
sourcefn set_oncuechange<V>(&mut self, value: V) where
V: Value + 'static,
fn set_oncuechange<V>(&mut self, value: V) where
V: Value + 'static,
Set the oncuechange
attribute.
sourcefn oncuechange(&self) -> Option<&dyn Value>
fn oncuechange(&self) -> Option<&dyn Value>
Get the oncuechange
attribute.
sourcefn with_ondblclick<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_ondblclick<V>(self, value: V) -> Self where
V: Value + 'static,
Set the ondblclick
attribute.
sourcefn set_ondblclick<V>(&mut self, value: V) where
V: Value + 'static,
fn set_ondblclick<V>(&mut self, value: V) where
V: Value + 'static,
Set the ondblclick
attribute.
sourcefn ondblclick(&self) -> Option<&dyn Value>
fn ondblclick(&self) -> Option<&dyn Value>
Get the ondblclick
attribute.
sourcefn with_ondrag<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_ondrag<V>(self, value: V) -> Self where
V: Value + 'static,
Set the ondrag
attribute.
sourcefn set_ondrag<V>(&mut self, value: V) where
V: Value + 'static,
fn set_ondrag<V>(&mut self, value: V) where
V: Value + 'static,
Set the ondrag
attribute.
sourcefn with_ondragend<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_ondragend<V>(self, value: V) -> Self where
V: Value + 'static,
Set the ondragend
attribute.
sourcefn set_ondragend<V>(&mut self, value: V) where
V: Value + 'static,
fn set_ondragend<V>(&mut self, value: V) where
V: Value + 'static,
Set the ondragend
attribute.
sourcefn with_ondragenter<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_ondragenter<V>(self, value: V) -> Self where
V: Value + 'static,
Set the ondragenter
attribute.
sourcefn set_ondragenter<V>(&mut self, value: V) where
V: Value + 'static,
fn set_ondragenter<V>(&mut self, value: V) where
V: Value + 'static,
Set the ondragenter
attribute.
sourcefn ondragenter(&self) -> Option<&dyn Value>
fn ondragenter(&self) -> Option<&dyn Value>
Get the ondragenter
attribute.
sourcefn with_ondragleave<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_ondragleave<V>(self, value: V) -> Self where
V: Value + 'static,
Set the ondragleave
attribute.
sourcefn set_ondragleave<V>(&mut self, value: V) where
V: Value + 'static,
fn set_ondragleave<V>(&mut self, value: V) where
V: Value + 'static,
Set the ondragleave
attribute.
sourcefn ondragleave(&self) -> Option<&dyn Value>
fn ondragleave(&self) -> Option<&dyn Value>
Get the ondragleave
attribute.
sourcefn with_ondragover<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_ondragover<V>(self, value: V) -> Self where
V: Value + 'static,
Set the ondragover
attribute.
sourcefn set_ondragover<V>(&mut self, value: V) where
V: Value + 'static,
fn set_ondragover<V>(&mut self, value: V) where
V: Value + 'static,
Set the ondragover
attribute.
sourcefn ondragover(&self) -> Option<&dyn Value>
fn ondragover(&self) -> Option<&dyn Value>
Get the ondragover
attribute.
sourcefn with_ondragstart<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_ondragstart<V>(self, value: V) -> Self where
V: Value + 'static,
Set the ondragstart
attribute.
sourcefn set_ondragstart<V>(&mut self, value: V) where
V: Value + 'static,
fn set_ondragstart<V>(&mut self, value: V) where
V: Value + 'static,
Set the ondragstart
attribute.
sourcefn ondragstart(&self) -> Option<&dyn Value>
fn ondragstart(&self) -> Option<&dyn Value>
Get the ondragstart
attribute.
sourcefn with_ondrop<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_ondrop<V>(self, value: V) -> Self where
V: Value + 'static,
Set the ondrop
attribute.
sourcefn set_ondrop<V>(&mut self, value: V) where
V: Value + 'static,
fn set_ondrop<V>(&mut self, value: V) where
V: Value + 'static,
Set the ondrop
attribute.
sourcefn with_ondurationchange<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_ondurationchange<V>(self, value: V) -> Self where
V: Value + 'static,
Set the ondurationchange
attribute.
sourcefn set_ondurationchange<V>(&mut self, value: V) where
V: Value + 'static,
fn set_ondurationchange<V>(&mut self, value: V) where
V: Value + 'static,
Set the ondurationchange
attribute.
sourcefn ondurationchange(&self) -> Option<&dyn Value>
fn ondurationchange(&self) -> Option<&dyn Value>
Get the ondurationchange
attribute.
sourcefn with_onemptied<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onemptied<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onemptied
attribute.
sourcefn set_onemptied<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onemptied<V>(&mut self, value: V) where
V: Value + 'static,
Set the onemptied
attribute.
sourcefn with_onended<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onended<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onended
attribute.
sourcefn set_onended<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onended<V>(&mut self, value: V) where
V: Value + 'static,
Set the onended
attribute.
sourcefn with_onerror<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onerror<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onerror
attribute.
sourcefn set_onerror<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onerror<V>(&mut self, value: V) where
V: Value + 'static,
Set the onerror
attribute.
sourcefn with_onfocus<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onfocus<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onfocus
attribute.
sourcefn set_onfocus<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onfocus<V>(&mut self, value: V) where
V: Value + 'static,
Set the onfocus
attribute.
sourcefn with_oninput<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_oninput<V>(self, value: V) -> Self where
V: Value + 'static,
Set the oninput
attribute.
sourcefn set_oninput<V>(&mut self, value: V) where
V: Value + 'static,
fn set_oninput<V>(&mut self, value: V) where
V: Value + 'static,
Set the oninput
attribute.
sourcefn with_oninvalid<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_oninvalid<V>(self, value: V) -> Self where
V: Value + 'static,
Set the oninvalid
attribute.
sourcefn set_oninvalid<V>(&mut self, value: V) where
V: Value + 'static,
fn set_oninvalid<V>(&mut self, value: V) where
V: Value + 'static,
Set the oninvalid
attribute.
sourcefn with_onkeydown<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onkeydown<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onkeydown
attribute.
sourcefn set_onkeydown<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onkeydown<V>(&mut self, value: V) where
V: Value + 'static,
Set the onkeydown
attribute.
sourcefn with_onkeypress<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onkeypress<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onkeypress
attribute.
sourcefn set_onkeypress<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onkeypress<V>(&mut self, value: V) where
V: Value + 'static,
Set the onkeypress
attribute.
sourcefn onkeypress(&self) -> Option<&dyn Value>
fn onkeypress(&self) -> Option<&dyn Value>
Get the onkeypress
attribute.
sourcefn with_onkeyup<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onkeyup<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onkeyup
attribute.
sourcefn set_onkeyup<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onkeyup<V>(&mut self, value: V) where
V: Value + 'static,
Set the onkeyup
attribute.
sourcefn with_onload<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onload<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onload
attribute.
sourcefn set_onload<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onload<V>(&mut self, value: V) where
V: Value + 'static,
Set the onload
attribute.
sourcefn with_onloadeddata<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onloadeddata<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onloadeddata
attribute.
sourcefn set_onloadeddata<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onloadeddata<V>(&mut self, value: V) where
V: Value + 'static,
Set the onloadeddata
attribute.
sourcefn onloadeddata(&self) -> Option<&dyn Value>
fn onloadeddata(&self) -> Option<&dyn Value>
Get the onloadeddata
attribute.
sourcefn with_onloadedmetadata<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onloadedmetadata<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onloadedmetadata
attribute.
sourcefn set_onloadedmetadata<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onloadedmetadata<V>(&mut self, value: V) where
V: Value + 'static,
Set the onloadedmetadata
attribute.
sourcefn onloadedmetadata(&self) -> Option<&dyn Value>
fn onloadedmetadata(&self) -> Option<&dyn Value>
Get the onloadedmetadata
attribute.
sourcefn with_onloadstart<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onloadstart<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onloadstart
attribute.
sourcefn set_onloadstart<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onloadstart<V>(&mut self, value: V) where
V: Value + 'static,
Set the onloadstart
attribute.
sourcefn onloadstart(&self) -> Option<&dyn Value>
fn onloadstart(&self) -> Option<&dyn Value>
Get the onloadstart
attribute.
sourcefn with_onmousedown<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onmousedown<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onmousedown
attribute.
sourcefn set_onmousedown<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onmousedown<V>(&mut self, value: V) where
V: Value + 'static,
Set the onmousedown
attribute.
sourcefn onmousedown(&self) -> Option<&dyn Value>
fn onmousedown(&self) -> Option<&dyn Value>
Get the onmousedown
attribute.
sourcefn with_onmouseenter<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onmouseenter<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onmouseenter
attribute.
sourcefn set_onmouseenter<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onmouseenter<V>(&mut self, value: V) where
V: Value + 'static,
Set the onmouseenter
attribute.
sourcefn onmouseenter(&self) -> Option<&dyn Value>
fn onmouseenter(&self) -> Option<&dyn Value>
Get the onmouseenter
attribute.
sourcefn with_onmouseleave<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onmouseleave<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onmouseleave
attribute.
sourcefn set_onmouseleave<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onmouseleave<V>(&mut self, value: V) where
V: Value + 'static,
Set the onmouseleave
attribute.
sourcefn onmouseleave(&self) -> Option<&dyn Value>
fn onmouseleave(&self) -> Option<&dyn Value>
Get the onmouseleave
attribute.
sourcefn with_onmousemove<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onmousemove<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onmousemove
attribute.
sourcefn set_onmousemove<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onmousemove<V>(&mut self, value: V) where
V: Value + 'static,
Set the onmousemove
attribute.
sourcefn onmousemove(&self) -> Option<&dyn Value>
fn onmousemove(&self) -> Option<&dyn Value>
Get the onmousemove
attribute.
sourcefn with_onmouseout<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onmouseout<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onmouseout
attribute.
sourcefn set_onmouseout<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onmouseout<V>(&mut self, value: V) where
V: Value + 'static,
Set the onmouseout
attribute.
sourcefn onmouseout(&self) -> Option<&dyn Value>
fn onmouseout(&self) -> Option<&dyn Value>
Get the onmouseout
attribute.
sourcefn with_onmouseover<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onmouseover<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onmouseover
attribute.
sourcefn set_onmouseover<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onmouseover<V>(&mut self, value: V) where
V: Value + 'static,
Set the onmouseover
attribute.
sourcefn onmouseover(&self) -> Option<&dyn Value>
fn onmouseover(&self) -> Option<&dyn Value>
Get the onmouseover
attribute.
sourcefn with_onmouseup<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onmouseup<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onmouseup
attribute.
sourcefn set_onmouseup<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onmouseup<V>(&mut self, value: V) where
V: Value + 'static,
Set the onmouseup
attribute.
sourcefn with_onmousewheel<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onmousewheel<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onmousewheel
attribute.
sourcefn set_onmousewheel<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onmousewheel<V>(&mut self, value: V) where
V: Value + 'static,
Set the onmousewheel
attribute.
sourcefn onmousewheel(&self) -> Option<&dyn Value>
fn onmousewheel(&self) -> Option<&dyn Value>
Get the onmousewheel
attribute.
sourcefn with_onpause<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onpause<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onpause
attribute.
sourcefn set_onpause<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onpause<V>(&mut self, value: V) where
V: Value + 'static,
Set the onpause
attribute.
sourcefn with_onplay<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onplay<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onplay
attribute.
sourcefn set_onplay<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onplay<V>(&mut self, value: V) where
V: Value + 'static,
Set the onplay
attribute.
sourcefn with_onplaying<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onplaying<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onplaying
attribute.
sourcefn set_onplaying<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onplaying<V>(&mut self, value: V) where
V: Value + 'static,
Set the onplaying
attribute.
sourcefn with_onprogress<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onprogress<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onprogress
attribute.
sourcefn set_onprogress<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onprogress<V>(&mut self, value: V) where
V: Value + 'static,
Set the onprogress
attribute.
sourcefn onprogress(&self) -> Option<&dyn Value>
fn onprogress(&self) -> Option<&dyn Value>
Get the onprogress
attribute.
sourcefn with_onratechange<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onratechange<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onratechange
attribute.
sourcefn set_onratechange<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onratechange<V>(&mut self, value: V) where
V: Value + 'static,
Set the onratechange
attribute.
sourcefn onratechange(&self) -> Option<&dyn Value>
fn onratechange(&self) -> Option<&dyn Value>
Get the onratechange
attribute.
sourcefn with_onreset<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onreset<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onreset
attribute.
sourcefn set_onreset<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onreset<V>(&mut self, value: V) where
V: Value + 'static,
Set the onreset
attribute.
sourcefn with_onresize<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onresize<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onresize
attribute.
sourcefn set_onresize<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onresize<V>(&mut self, value: V) where
V: Value + 'static,
Set the onresize
attribute.
sourcefn with_onscroll<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onscroll<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onscroll
attribute.
sourcefn set_onscroll<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onscroll<V>(&mut self, value: V) where
V: Value + 'static,
Set the onscroll
attribute.
sourcefn with_onseeked<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onseeked<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onseeked
attribute.
sourcefn set_onseeked<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onseeked<V>(&mut self, value: V) where
V: Value + 'static,
Set the onseeked
attribute.
sourcefn with_onseeking<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onseeking<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onseeking
attribute.
sourcefn set_onseeking<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onseeking<V>(&mut self, value: V) where
V: Value + 'static,
Set the onseeking
attribute.
sourcefn with_onselect<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onselect<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onselect
attribute.
sourcefn set_onselect<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onselect<V>(&mut self, value: V) where
V: Value + 'static,
Set the onselect
attribute.
sourcefn with_onshow<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onshow<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onshow
attribute.
sourcefn set_onshow<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onshow<V>(&mut self, value: V) where
V: Value + 'static,
Set the onshow
attribute.
sourcefn with_onstalled<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onstalled<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onstalled
attribute.
sourcefn set_onstalled<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onstalled<V>(&mut self, value: V) where
V: Value + 'static,
Set the onstalled
attribute.
sourcefn with_onsubmit<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onsubmit<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onsubmit
attribute.
sourcefn set_onsubmit<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onsubmit<V>(&mut self, value: V) where
V: Value + 'static,
Set the onsubmit
attribute.
sourcefn with_onsuspend<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onsuspend<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onsuspend
attribute.
sourcefn set_onsuspend<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onsuspend<V>(&mut self, value: V) where
V: Value + 'static,
Set the onsuspend
attribute.
sourcefn with_ontimeupdate<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_ontimeupdate<V>(self, value: V) -> Self where
V: Value + 'static,
Set the ontimeupdate
attribute.
sourcefn set_ontimeupdate<V>(&mut self, value: V) where
V: Value + 'static,
fn set_ontimeupdate<V>(&mut self, value: V) where
V: Value + 'static,
Set the ontimeupdate
attribute.
sourcefn ontimeupdate(&self) -> Option<&dyn Value>
fn ontimeupdate(&self) -> Option<&dyn Value>
Get the ontimeupdate
attribute.
sourcefn with_ontoggle<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_ontoggle<V>(self, value: V) -> Self where
V: Value + 'static,
Set the ontoggle
attribute.
sourcefn set_ontoggle<V>(&mut self, value: V) where
V: Value + 'static,
fn set_ontoggle<V>(&mut self, value: V) where
V: Value + 'static,
Set the ontoggle
attribute.
sourcefn with_onvolumechange<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onvolumechange<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onvolumechange
attribute.
sourcefn set_onvolumechange<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onvolumechange<V>(&mut self, value: V) where
V: Value + 'static,
Set the onvolumechange
attribute.
sourcefn onvolumechange(&self) -> Option<&dyn Value>
fn onvolumechange(&self) -> Option<&dyn Value>
Get the onvolumechange
attribute.
sourcefn with_onwaiting<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onwaiting<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onwaiting
attribute.
sourcefn set_onwaiting<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onwaiting<V>(&mut self, value: V) where
V: Value + 'static,
Set the onwaiting
attribute.
sourceimpl TagWithGraphicalEventAttributes for Svg
impl TagWithGraphicalEventAttributes for Svg
sourcefn with_onactivate<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onactivate<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onactivate
attribute.
sourcefn set_onactivate<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onactivate<V>(&mut self, value: V) where
V: Value + 'static,
Set the onactivate
attribute.
sourcefn onactivate(&self) -> Option<&dyn Value>
fn onactivate(&self) -> Option<&dyn Value>
Get the onactivate
attribute.
sourcefn with_onfocusin<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onfocusin<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onfocusin
attribute.
sourcefn set_onfocusin<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onfocusin<V>(&mut self, value: V) where
V: Value + 'static,
Set the onfocusin
attribute.
sourcefn with_onfocusout<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_onfocusout<V>(self, value: V) -> Self where
V: Value + 'static,
Set the onfocusout
attribute.
sourcefn set_onfocusout<V>(&mut self, value: V) where
V: Value + 'static,
fn set_onfocusout<V>(&mut self, value: V) where
V: Value + 'static,
Set the onfocusout
attribute.
sourcefn onfocusout(&self) -> Option<&dyn Value>
fn onfocusout(&self) -> Option<&dyn Value>
Get the onfocusout
attribute.
sourceimpl TagWithPresentationAttributes for Svg
impl TagWithPresentationAttributes for Svg
sourcefn with_alignment_baseline<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_alignment_baseline<V>(self, value: V) -> Self where
V: Value + 'static,
Set the alignment-baseline
attribute.
sourcefn set_alignment_baseline<V>(&mut self, value: V) where
V: Value + 'static,
fn set_alignment_baseline<V>(&mut self, value: V) where
V: Value + 'static,
Set the alignment-baseline
attribute.
sourcefn alignment_baseline(&self) -> Option<&dyn Value>
fn alignment_baseline(&self) -> Option<&dyn Value>
Get the alignment-baseline
attribute.
sourcefn with_baseline_shift<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_baseline_shift<V>(self, value: V) -> Self where
V: Value + 'static,
Set the baseline-shift
attribute.
sourcefn set_baseline_shift<V>(&mut self, value: V) where
V: Value + 'static,
fn set_baseline_shift<V>(&mut self, value: V) where
V: Value + 'static,
Set the baseline-shift
attribute.
sourcefn baseline_shift(&self) -> Option<&dyn Value>
fn baseline_shift(&self) -> Option<&dyn Value>
Get the baseline-shift
attribute.
sourcefn with_clip_path<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_clip_path<V>(self, value: V) -> Self where
V: Value + 'static,
Set the clip-path
attribute.
sourcefn set_clip_path<V>(&mut self, value: V) where
V: Value + 'static,
fn set_clip_path<V>(&mut self, value: V) where
V: Value + 'static,
Set the clip-path
attribute.
sourcefn with_clip_rule<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_clip_rule<V>(self, value: V) -> Self where
V: Value + 'static,
Set the clip-rule
attribute.
sourcefn set_clip_rule<V>(&mut self, value: V) where
V: Value + 'static,
fn set_clip_rule<V>(&mut self, value: V) where
V: Value + 'static,
Set the clip-rule
attribute.
sourcefn with_color<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_color<V>(self, value: V) -> Self where
V: Value + 'static,
Set the color
attribute.
sourcefn with_color_interpolation<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_color_interpolation<V>(self, value: V) -> Self where
V: Value + 'static,
Set the color-interpolation
attribute.
sourcefn set_color_interpolation<V>(&mut self, value: V) where
V: Value + 'static,
fn set_color_interpolation<V>(&mut self, value: V) where
V: Value + 'static,
Set the color-interpolation
attribute.
sourcefn color_interpolation(&self) -> Option<&dyn Value>
fn color_interpolation(&self) -> Option<&dyn Value>
Get the color-interpolation
attribute.
sourcefn with_color_interpolation_filters<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_color_interpolation_filters<V>(self, value: V) -> Self where
V: Value + 'static,
Set the color-interpolation-filters
attribute.
sourcefn set_color_interpolation_filters<V>(&mut self, value: V) where
V: Value + 'static,
fn set_color_interpolation_filters<V>(&mut self, value: V) where
V: Value + 'static,
Set the color-interpolation-filters
attribute.
sourcefn color_interpolation_filters(&self) -> Option<&dyn Value>
fn color_interpolation_filters(&self) -> Option<&dyn Value>
Get the color-interpolation-filters
attribute.
sourcefn with_color_profile<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_color_profile<V>(self, value: V) -> Self where
V: Value + 'static,
Set the color-profile
attribute.
sourcefn set_color_profile<V>(&mut self, value: V) where
V: Value + 'static,
fn set_color_profile<V>(&mut self, value: V) where
V: Value + 'static,
Set the color-profile
attribute.
sourcefn color_profile(&self) -> Option<&dyn Value>
fn color_profile(&self) -> Option<&dyn Value>
Get the color-profile
attribute.
sourcefn with_color_rendering<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_color_rendering<V>(self, value: V) -> Self where
V: Value + 'static,
Set the color-rendering
attribute.
sourcefn set_color_rendering<V>(&mut self, value: V) where
V: Value + 'static,
fn set_color_rendering<V>(&mut self, value: V) where
V: Value + 'static,
Set the color-rendering
attribute.
sourcefn color_rendering(&self) -> Option<&dyn Value>
fn color_rendering(&self) -> Option<&dyn Value>
Get the color-rendering
attribute.
sourcefn with_cursor<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_cursor<V>(self, value: V) -> Self where
V: Value + 'static,
Set the cursor
attribute.
sourcefn set_cursor<V>(&mut self, value: V) where
V: Value + 'static,
fn set_cursor<V>(&mut self, value: V) where
V: Value + 'static,
Set the cursor
attribute.
sourcefn with_direction<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_direction<V>(self, value: V) -> Self where
V: Value + 'static,
Set the direction
attribute.
sourcefn set_direction<V>(&mut self, value: V) where
V: Value + 'static,
fn set_direction<V>(&mut self, value: V) where
V: Value + 'static,
Set the direction
attribute.
sourcefn with_display<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_display<V>(self, value: V) -> Self where
V: Value + 'static,
Set the display
attribute.
sourcefn set_display<V>(&mut self, value: V) where
V: Value + 'static,
fn set_display<V>(&mut self, value: V) where
V: Value + 'static,
Set the display
attribute.
sourcefn with_dominant_baseline<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_dominant_baseline<V>(self, value: V) -> Self where
V: Value + 'static,
Set the dominant-baseline
attribute.
sourcefn set_dominant_baseline<V>(&mut self, value: V) where
V: Value + 'static,
fn set_dominant_baseline<V>(&mut self, value: V) where
V: Value + 'static,
Set the dominant-baseline
attribute.
sourcefn dominant_baseline(&self) -> Option<&dyn Value>
fn dominant_baseline(&self) -> Option<&dyn Value>
Get the dominant-baseline
attribute.
sourcefn with_enable_background<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_enable_background<V>(self, value: V) -> Self where
V: Value + 'static,
Set the enable-background
attribute.
sourcefn set_enable_background<V>(&mut self, value: V) where
V: Value + 'static,
fn set_enable_background<V>(&mut self, value: V) where
V: Value + 'static,
Set the enable-background
attribute.
sourcefn enable_background(&self) -> Option<&dyn Value>
fn enable_background(&self) -> Option<&dyn Value>
Get the enable-background
attribute.
sourcefn with_fill_opacity<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_fill_opacity<V>(self, value: V) -> Self where
V: Value + 'static,
Set the fill-opacity
attribute.
sourcefn set_fill_opacity<V>(&mut self, value: V) where
V: Value + 'static,
fn set_fill_opacity<V>(&mut self, value: V) where
V: Value + 'static,
Set the fill-opacity
attribute.
sourcefn fill_opacity(&self) -> Option<&dyn Value>
fn fill_opacity(&self) -> Option<&dyn Value>
Get the fill-opacity
attribute.
sourcefn with_fill_rule<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_fill_rule<V>(self, value: V) -> Self where
V: Value + 'static,
Set the fill-rule
attribute.
sourcefn set_fill_rule<V>(&mut self, value: V) where
V: Value + 'static,
fn set_fill_rule<V>(&mut self, value: V) where
V: Value + 'static,
Set the fill-rule
attribute.
sourcefn with_filter<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_filter<V>(self, value: V) -> Self where
V: Value + 'static,
Set the filter
attribute.
sourcefn set_filter<V>(&mut self, value: V) where
V: Value + 'static,
fn set_filter<V>(&mut self, value: V) where
V: Value + 'static,
Set the filter
attribute.
sourcefn with_flood_color<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_flood_color<V>(self, value: V) -> Self where
V: Value + 'static,
Set the flood-color
attribute.
sourcefn set_flood_color<V>(&mut self, value: V) where
V: Value + 'static,
fn set_flood_color<V>(&mut self, value: V) where
V: Value + 'static,
Set the flood-color
attribute.
sourcefn flood_color(&self) -> Option<&dyn Value>
fn flood_color(&self) -> Option<&dyn Value>
Get the flood-color
attribute.
sourcefn with_flood_opacity<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_flood_opacity<V>(self, value: V) -> Self where
V: Value + 'static,
Set the flood-opacity
attribute.
sourcefn set_flood_opacity<V>(&mut self, value: V) where
V: Value + 'static,
fn set_flood_opacity<V>(&mut self, value: V) where
V: Value + 'static,
Set the flood-opacity
attribute.
sourcefn flood_opacity(&self) -> Option<&dyn Value>
fn flood_opacity(&self) -> Option<&dyn Value>
Get the flood-opacity
attribute.
sourcefn with_font_family<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_font_family<V>(self, value: V) -> Self where
V: Value + 'static,
Set the font-family
attribute.
sourcefn set_font_family<V>(&mut self, value: V) where
V: Value + 'static,
fn set_font_family<V>(&mut self, value: V) where
V: Value + 'static,
Set the font-family
attribute.
sourcefn font_family(&self) -> Option<&dyn Value>
fn font_family(&self) -> Option<&dyn Value>
Get the font-family
attribute.
sourcefn with_font_size<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_font_size<V>(self, value: V) -> Self where
V: Value + 'static,
Set the font-size
attribute.
sourcefn set_font_size<V>(&mut self, value: V) where
V: Value + 'static,
fn set_font_size<V>(&mut self, value: V) where
V: Value + 'static,
Set the font-size
attribute.
sourcefn with_font_size_adjust<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_font_size_adjust<V>(self, value: V) -> Self where
V: Value + 'static,
Set the font-size-adjust
attribute.
sourcefn set_font_size_adjust<V>(&mut self, value: V) where
V: Value + 'static,
fn set_font_size_adjust<V>(&mut self, value: V) where
V: Value + 'static,
Set the font-size-adjust
attribute.
sourcefn font_size_adjust(&self) -> Option<&dyn Value>
fn font_size_adjust(&self) -> Option<&dyn Value>
Get the font-size-adjust
attribute.
sourcefn with_font_stretch<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_font_stretch<V>(self, value: V) -> Self where
V: Value + 'static,
Set the font-stretch
attribute.
sourcefn set_font_stretch<V>(&mut self, value: V) where
V: Value + 'static,
fn set_font_stretch<V>(&mut self, value: V) where
V: Value + 'static,
Set the font-stretch
attribute.
sourcefn font_stretch(&self) -> Option<&dyn Value>
fn font_stretch(&self) -> Option<&dyn Value>
Get the font-stretch
attribute.
sourcefn with_font_style<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_font_style<V>(self, value: V) -> Self where
V: Value + 'static,
Set the font-style
attribute.
sourcefn set_font_style<V>(&mut self, value: V) where
V: Value + 'static,
fn set_font_style<V>(&mut self, value: V) where
V: Value + 'static,
Set the font-style
attribute.
sourcefn font_style(&self) -> Option<&dyn Value>
fn font_style(&self) -> Option<&dyn Value>
Get the font-style
attribute.
sourcefn with_font_variant<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_font_variant<V>(self, value: V) -> Self where
V: Value + 'static,
Set the font-variant
attribute.
sourcefn set_font_variant<V>(&mut self, value: V) where
V: Value + 'static,
fn set_font_variant<V>(&mut self, value: V) where
V: Value + 'static,
Set the font-variant
attribute.
sourcefn font_variant(&self) -> Option<&dyn Value>
fn font_variant(&self) -> Option<&dyn Value>
Get the font-variant
attribute.
sourcefn with_font_weight<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_font_weight<V>(self, value: V) -> Self where
V: Value + 'static,
Set the font-weight
attribute.
sourcefn set_font_weight<V>(&mut self, value: V) where
V: Value + 'static,
fn set_font_weight<V>(&mut self, value: V) where
V: Value + 'static,
Set the font-weight
attribute.
sourcefn font_weight(&self) -> Option<&dyn Value>
fn font_weight(&self) -> Option<&dyn Value>
Get the font-weight
attribute.
sourcefn with_glyph_orientation_horizontal<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_glyph_orientation_horizontal<V>(self, value: V) -> Self where
V: Value + 'static,
Set the glyph-orientation-horizontal
attribute.
sourcefn set_glyph_orientation_horizontal<V>(&mut self, value: V) where
V: Value + 'static,
fn set_glyph_orientation_horizontal<V>(&mut self, value: V) where
V: Value + 'static,
Set the glyph-orientation-horizontal
attribute.
sourcefn glyph_orientation_horizontal(&self) -> Option<&dyn Value>
fn glyph_orientation_horizontal(&self) -> Option<&dyn Value>
Get the glyph-orientation-horizontal
attribute.
sourcefn with_glyph_orientation_vertical<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_glyph_orientation_vertical<V>(self, value: V) -> Self where
V: Value + 'static,
Set the glyph-orientation-vertical
attribute.
sourcefn set_glyph_orientation_vertical<V>(&mut self, value: V) where
V: Value + 'static,
fn set_glyph_orientation_vertical<V>(&mut self, value: V) where
V: Value + 'static,
Set the glyph-orientation-vertical
attribute.
sourcefn glyph_orientation_vertical(&self) -> Option<&dyn Value>
fn glyph_orientation_vertical(&self) -> Option<&dyn Value>
Get the glyph-orientation-vertical
attribute.
sourcefn with_image_rendering<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_image_rendering<V>(self, value: V) -> Self where
V: Value + 'static,
Set the image-rendering
attribute.
sourcefn set_image_rendering<V>(&mut self, value: V) where
V: Value + 'static,
fn set_image_rendering<V>(&mut self, value: V) where
V: Value + 'static,
Set the image-rendering
attribute.
sourcefn image_rendering(&self) -> Option<&dyn Value>
fn image_rendering(&self) -> Option<&dyn Value>
Get the image-rendering
attribute.
sourcefn with_kerning<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_kerning<V>(self, value: V) -> Self where
V: Value + 'static,
Set the kerning
attribute.
sourcefn set_kerning<V>(&mut self, value: V) where
V: Value + 'static,
fn set_kerning<V>(&mut self, value: V) where
V: Value + 'static,
Set the kerning
attribute.
sourcefn with_letter_spacing<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_letter_spacing<V>(self, value: V) -> Self where
V: Value + 'static,
Set the letter-spacing
attribute.
sourcefn set_letter_spacing<V>(&mut self, value: V) where
V: Value + 'static,
fn set_letter_spacing<V>(&mut self, value: V) where
V: Value + 'static,
Set the letter-spacing
attribute.
sourcefn letter_spacing(&self) -> Option<&dyn Value>
fn letter_spacing(&self) -> Option<&dyn Value>
Get the letter-spacing
attribute.
sourcefn with_lighting_color<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_lighting_color<V>(self, value: V) -> Self where
V: Value + 'static,
Set the lighting-color
attribute.
sourcefn set_lighting_color<V>(&mut self, value: V) where
V: Value + 'static,
fn set_lighting_color<V>(&mut self, value: V) where
V: Value + 'static,
Set the lighting-color
attribute.
sourcefn lighting_color(&self) -> Option<&dyn Value>
fn lighting_color(&self) -> Option<&dyn Value>
Get the lighting-color
attribute.
sourcefn with_marker_end<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_marker_end<V>(self, value: V) -> Self where
V: Value + 'static,
Set the marker-end
attribute.
sourcefn set_marker_end<V>(&mut self, value: V) where
V: Value + 'static,
fn set_marker_end<V>(&mut self, value: V) where
V: Value + 'static,
Set the marker-end
attribute.
sourcefn marker_end(&self) -> Option<&dyn Value>
fn marker_end(&self) -> Option<&dyn Value>
Get the marker-end
attribute.
sourcefn with_marker_mid<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_marker_mid<V>(self, value: V) -> Self where
V: Value + 'static,
Set the marker-mid
attribute.
sourcefn set_marker_mid<V>(&mut self, value: V) where
V: Value + 'static,
fn set_marker_mid<V>(&mut self, value: V) where
V: Value + 'static,
Set the marker-mid
attribute.
sourcefn marker_mid(&self) -> Option<&dyn Value>
fn marker_mid(&self) -> Option<&dyn Value>
Get the marker-mid
attribute.
sourcefn with_marker_start<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_marker_start<V>(self, value: V) -> Self where
V: Value + 'static,
Set the marker-start
attribute.
sourcefn set_marker_start<V>(&mut self, value: V) where
V: Value + 'static,
fn set_marker_start<V>(&mut self, value: V) where
V: Value + 'static,
Set the marker-start
attribute.
sourcefn marker_start(&self) -> Option<&dyn Value>
fn marker_start(&self) -> Option<&dyn Value>
Get the marker-start
attribute.
sourcefn with_opacity<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_opacity<V>(self, value: V) -> Self where
V: Value + 'static,
Set the opacity
attribute.
sourcefn set_opacity<V>(&mut self, value: V) where
V: Value + 'static,
fn set_opacity<V>(&mut self, value: V) where
V: Value + 'static,
Set the opacity
attribute.
sourcefn with_overflow<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_overflow<V>(self, value: V) -> Self where
V: Value + 'static,
Set the overflow
attribute.
sourcefn set_overflow<V>(&mut self, value: V) where
V: Value + 'static,
fn set_overflow<V>(&mut self, value: V) where
V: Value + 'static,
Set the overflow
attribute.
sourcefn with_pointer_events<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_pointer_events<V>(self, value: V) -> Self where
V: Value + 'static,
Set the pointer-events
attribute.
sourcefn set_pointer_events<V>(&mut self, value: V) where
V: Value + 'static,
fn set_pointer_events<V>(&mut self, value: V) where
V: Value + 'static,
Set the pointer-events
attribute.
sourcefn pointer_events(&self) -> Option<&dyn Value>
fn pointer_events(&self) -> Option<&dyn Value>
Get the pointer-events
attribute.
sourcefn with_shape_rendering<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_shape_rendering<V>(self, value: V) -> Self where
V: Value + 'static,
Set the shape-rendering
attribute.
sourcefn set_shape_rendering<V>(&mut self, value: V) where
V: Value + 'static,
fn set_shape_rendering<V>(&mut self, value: V) where
V: Value + 'static,
Set the shape-rendering
attribute.
sourcefn shape_rendering(&self) -> Option<&dyn Value>
fn shape_rendering(&self) -> Option<&dyn Value>
Get the shape-rendering
attribute.
sourcefn with_stop_color<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_stop_color<V>(self, value: V) -> Self where
V: Value + 'static,
Set the stop-color
attribute.
sourcefn set_stop_color<V>(&mut self, value: V) where
V: Value + 'static,
fn set_stop_color<V>(&mut self, value: V) where
V: Value + 'static,
Set the stop-color
attribute.
sourcefn stop_color(&self) -> Option<&dyn Value>
fn stop_color(&self) -> Option<&dyn Value>
Get the stop-color
attribute.
sourcefn with_stop_opacity<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_stop_opacity<V>(self, value: V) -> Self where
V: Value + 'static,
Set the stop-opacity
attribute.
sourcefn set_stop_opacity<V>(&mut self, value: V) where
V: Value + 'static,
fn set_stop_opacity<V>(&mut self, value: V) where
V: Value + 'static,
Set the stop-opacity
attribute.
sourcefn stop_opacity(&self) -> Option<&dyn Value>
fn stop_opacity(&self) -> Option<&dyn Value>
Get the stop-opacity
attribute.
sourcefn with_stroke<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_stroke<V>(self, value: V) -> Self where
V: Value + 'static,
Set the stroke
attribute.
sourcefn set_stroke<V>(&mut self, value: V) where
V: Value + 'static,
fn set_stroke<V>(&mut self, value: V) where
V: Value + 'static,
Set the stroke
attribute.
sourcefn with_stroke_dasharray<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_stroke_dasharray<V>(self, value: V) -> Self where
V: Value + 'static,
Set the stroke-dasharray
attribute.
sourcefn set_stroke_dasharray<V>(&mut self, value: V) where
V: Value + 'static,
fn set_stroke_dasharray<V>(&mut self, value: V) where
V: Value + 'static,
Set the stroke-dasharray
attribute.
sourcefn stroke_dasharray(&self) -> Option<&dyn Value>
fn stroke_dasharray(&self) -> Option<&dyn Value>
Get the stroke-dasharray
attribute.
sourcefn with_stroke_dashoffset<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_stroke_dashoffset<V>(self, value: V) -> Self where
V: Value + 'static,
Set the stroke-dashoffset
attribute.
sourcefn set_stroke_dashoffset<V>(&mut self, value: V) where
V: Value + 'static,
fn set_stroke_dashoffset<V>(&mut self, value: V) where
V: Value + 'static,
Set the stroke-dashoffset
attribute.
sourcefn stroke_dashoffset(&self) -> Option<&dyn Value>
fn stroke_dashoffset(&self) -> Option<&dyn Value>
Get the stroke-dashoffset
attribute.
sourcefn with_stroke_linecap<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_stroke_linecap<V>(self, value: V) -> Self where
V: Value + 'static,
Set the stroke-linecap
attribute.
sourcefn set_stroke_linecap<V>(&mut self, value: V) where
V: Value + 'static,
fn set_stroke_linecap<V>(&mut self, value: V) where
V: Value + 'static,
Set the stroke-linecap
attribute.
sourcefn stroke_linecap(&self) -> Option<&dyn Value>
fn stroke_linecap(&self) -> Option<&dyn Value>
Get the stroke-linecap
attribute.
sourcefn with_stroke_linejoin<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_stroke_linejoin<V>(self, value: V) -> Self where
V: Value + 'static,
Set the stroke-linejoin
attribute.
sourcefn set_stroke_linejoin<V>(&mut self, value: V) where
V: Value + 'static,
fn set_stroke_linejoin<V>(&mut self, value: V) where
V: Value + 'static,
Set the stroke-linejoin
attribute.
sourcefn stroke_linejoin(&self) -> Option<&dyn Value>
fn stroke_linejoin(&self) -> Option<&dyn Value>
Get the stroke-linejoin
attribute.
sourcefn with_stroke_miterlimit<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_stroke_miterlimit<V>(self, value: V) -> Self where
V: Value + 'static,
Set the stroke-miterlimit
attribute.
sourcefn set_stroke_miterlimit<V>(&mut self, value: V) where
V: Value + 'static,
fn set_stroke_miterlimit<V>(&mut self, value: V) where
V: Value + 'static,
Set the stroke-miterlimit
attribute.
sourcefn stroke_miterlimit(&self) -> Option<&dyn Value>
fn stroke_miterlimit(&self) -> Option<&dyn Value>
Get the stroke-miterlimit
attribute.
sourcefn with_stroke_opacity<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_stroke_opacity<V>(self, value: V) -> Self where
V: Value + 'static,
Set the stroke-opacity
attribute.
sourcefn set_stroke_opacity<V>(&mut self, value: V) where
V: Value + 'static,
fn set_stroke_opacity<V>(&mut self, value: V) where
V: Value + 'static,
Set the stroke-opacity
attribute.
sourcefn stroke_opacity(&self) -> Option<&dyn Value>
fn stroke_opacity(&self) -> Option<&dyn Value>
Get the stroke-opacity
attribute.
sourcefn with_stroke_width<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_stroke_width<V>(self, value: V) -> Self where
V: Value + 'static,
Set the stroke-width
attribute.
sourcefn set_stroke_width<V>(&mut self, value: V) where
V: Value + 'static,
fn set_stroke_width<V>(&mut self, value: V) where
V: Value + 'static,
Set the stroke-width
attribute.
sourcefn stroke_width(&self) -> Option<&dyn Value>
fn stroke_width(&self) -> Option<&dyn Value>
Get the stroke-width
attribute.
sourcefn with_text_anchor<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_text_anchor<V>(self, value: V) -> Self where
V: Value + 'static,
Set the text-anchor
attribute.
sourcefn set_text_anchor<V>(&mut self, value: V) where
V: Value + 'static,
fn set_text_anchor<V>(&mut self, value: V) where
V: Value + 'static,
Set the text-anchor
attribute.
sourcefn text_anchor(&self) -> Option<&dyn Value>
fn text_anchor(&self) -> Option<&dyn Value>
Get the text-anchor
attribute.
sourcefn with_text_decoration<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_text_decoration<V>(self, value: V) -> Self where
V: Value + 'static,
Set the text-decoration
attribute.
sourcefn set_text_decoration<V>(&mut self, value: V) where
V: Value + 'static,
fn set_text_decoration<V>(&mut self, value: V) where
V: Value + 'static,
Set the text-decoration
attribute.
sourcefn text_decoration(&self) -> Option<&dyn Value>
fn text_decoration(&self) -> Option<&dyn Value>
Get the text-decoration
attribute.
sourcefn with_text_rendering<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_text_rendering<V>(self, value: V) -> Self where
V: Value + 'static,
Set the text-rendering
attribute.
sourcefn set_text_rendering<V>(&mut self, value: V) where
V: Value + 'static,
fn set_text_rendering<V>(&mut self, value: V) where
V: Value + 'static,
Set the text-rendering
attribute.
sourcefn text_rendering(&self) -> Option<&dyn Value>
fn text_rendering(&self) -> Option<&dyn Value>
Get the text-rendering
attribute.
sourcefn with_transform<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_transform<V>(self, value: V) -> Self where
V: Value + 'static,
Set the transform
attribute.
sourcefn set_transform<V>(&mut self, value: V) where
V: Value + 'static,
fn set_transform<V>(&mut self, value: V) where
V: Value + 'static,
Set the transform
attribute.
sourcefn with_transform_origin<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_transform_origin<V>(self, value: V) -> Self where
V: Value + 'static,
Set the transform-origin
attribute.
sourcefn set_transform_origin<V>(&mut self, value: V) where
V: Value + 'static,
fn set_transform_origin<V>(&mut self, value: V) where
V: Value + 'static,
Set the transform-origin
attribute.
sourcefn transform_origin(&self) -> Option<&dyn Value>
fn transform_origin(&self) -> Option<&dyn Value>
Get the transform-origin
attribute.
sourcefn with_unicode_bidi<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_unicode_bidi<V>(self, value: V) -> Self where
V: Value + 'static,
Set the unicode-bidi
attribute.
sourcefn set_unicode_bidi<V>(&mut self, value: V) where
V: Value + 'static,
fn set_unicode_bidi<V>(&mut self, value: V) where
V: Value + 'static,
Set the unicode-bidi
attribute.
sourcefn unicode_bidi(&self) -> Option<&dyn Value>
fn unicode_bidi(&self) -> Option<&dyn Value>
Get the unicode-bidi
attribute.
sourcefn with_vector_effect<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_vector_effect<V>(self, value: V) -> Self where
V: Value + 'static,
Set the vector-effect
attribute.
sourcefn set_vector_effect<V>(&mut self, value: V) where
V: Value + 'static,
fn set_vector_effect<V>(&mut self, value: V) where
V: Value + 'static,
Set the vector-effect
attribute.
sourcefn vector_effect(&self) -> Option<&dyn Value>
fn vector_effect(&self) -> Option<&dyn Value>
Get the vector-effect
attribute.
sourcefn with_visibility<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_visibility<V>(self, value: V) -> Self where
V: Value + 'static,
Set the visibility
attribute.
sourcefn set_visibility<V>(&mut self, value: V) where
V: Value + 'static,
fn set_visibility<V>(&mut self, value: V) where
V: Value + 'static,
Set the visibility
attribute.
sourcefn visibility(&self) -> Option<&dyn Value>
fn visibility(&self) -> Option<&dyn Value>
Get the visibility
attribute.
sourcefn with_word_spacing<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_word_spacing<V>(self, value: V) -> Self where
V: Value + 'static,
Set the word-spacing
attribute.
sourcefn set_word_spacing<V>(&mut self, value: V) where
V: Value + 'static,
fn set_word_spacing<V>(&mut self, value: V) where
V: Value + 'static,
Set the word-spacing
attribute.
sourcefn word_spacing(&self) -> Option<&dyn Value>
fn word_spacing(&self) -> Option<&dyn Value>
Get the word-spacing
attribute.
sourcefn with_writing_mode<V>(self, value: V) -> Self where
V: Value + 'static,
fn with_writing_mode<V>(self, value: V) -> Self where
V: Value + 'static,
Set the writing-mode
attribute.
sourcefn set_writing_mode<V>(&mut self, value: V) where
V: Value + 'static,
fn set_writing_mode<V>(&mut self, value: V) where
V: Value + 'static,
Set the writing-mode
attribute.
sourcefn writing_mode(&self) -> Option<&dyn Value>
fn writing_mode(&self) -> Option<&dyn Value>
Get the writing-mode
attribute.
Auto Trait Implementations
impl !RefUnwindSafe for Svg
impl !Send for Svg
impl !Sync for Svg
impl Unpin for Svg
impl !UnwindSafe for Svg
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more