Enum svgdom::AttributesOrder
[−]
[src]
pub enum AttributesOrder { AsIs, Alphabetical, Specification, }
An attributes order.
Note: the id
attribute is always first.
Variants
AsIs
Attributes are stored in the Vec
and with this option,
they will be written in the same order an in the Vec
.
Alphabetical
Write attributes in the alphabetical order.
Only SVG attributes will be sorted. Non-SVG attributes will be written as-is.
Specification
Write attributes in the same order as they listed in the SVG spec.
The current set of rules is pretty limited and doesn't follow the spec strictly.
Only SVG attributes will be sorted. Non-SVG attributes will be written as-is.
Trait Implementations
impl Clone for AttributesOrder
[src]
fn clone(&self) -> AttributesOrder
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more