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]
impl Clone for AttributesOrder
fn clone(&self) -> AttributesOrder
[src]
fn clone(&self) -> AttributesOrder
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for AttributesOrder
[src]
impl Copy for AttributesOrder
impl PartialEq for AttributesOrder
[src]
impl PartialEq for AttributesOrder
fn eq(&self, other: &AttributesOrder) -> bool
[src]
fn eq(&self, other: &AttributesOrder) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Debug for AttributesOrder
[src]
impl Debug for AttributesOrder
Auto Trait Implementations
impl Send for AttributesOrder
impl Send for AttributesOrder
impl Sync for AttributesOrder
impl Sync for AttributesOrder