Struct svgdom::ParseOptions [−][src]
pub struct ParseOptions { pub skip_unresolved_classes: bool, pub skip_invalid_attributes: bool, pub skip_invalid_css: bool, }
Options that defines SVG parsing.
Fields
skip_unresolved_classes: bool
Skip unresolved references inside the class
attribute.
It's enabled by default, but if you disable it - all unresolved classes will be kept
in the class
attribute.
Default: true
skip_invalid_attributes: bool
Skip attributes with invalid values.
By default, attribute with an invalid value will lead to a parsing error. This flag allows converting this error into a warning.
Default: false
skip_invalid_css: bool
Skip invalid/unsupported CSS.
By default, CSS with an invalid/unsupported value will lead to a parsing error. This flag allows converting this error into a warning.
Default: false
Trait Implementations
impl Debug for ParseOptions
[src]
impl Debug for ParseOptions
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for ParseOptions
[src]
impl Default for ParseOptions
fn default() -> ParseOptions
[src]
fn default() -> ParseOptions
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for ParseOptions
impl Send for ParseOptions
impl Sync for ParseOptions
impl Sync for ParseOptions