Module sauron::svg

source ·
Expand description

Provides functions and macros to build svg elements

Modules§

  • provides functions and macros for building svg attributes
  • Provides macro for creating functions for tags

Constants§

  • SVG namespace const, use this when creating an svg element dynamically in the DOM
  • These are the commonly used svg tags such as rect, circle, path, arc, ..etc.
  • These are svg tags which the tags are non proper rust identifier, so they are handled differently

Functions§