Enum svgdom::AttributesOrder [] [src]

pub enum AttributesOrder {
    AsIs,
    Alphabetical,
    Specification,
}

An attributes order.

Note: the id attribute is always first.

Variants

Attributes are stored in the Vec and with this option, they will be written in the same order an in the Vec.

Write attributes in the alphabetical order.

Only SVG attributes will be sorted. Non-SVG attributes will be written as-is.

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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for AttributesOrder
[src]

impl PartialEq for AttributesOrder
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

Auto Trait Implementations