Crate svgparser [] [src]

Streaming parser/tokenizer for SVG 1.1 Full data format without heap allocations.

Checkout README.md for general highlights.

Modules

path

Module for parsing <path> data.

style

Module for parsing <style> data.

svg

Module for parsing SVG structure.

transform

Module for parsing <transform-list> data.

Macros

u8_to_str

str::from_utf8($text).unwrap()

Structs

ErrorPos

Position of the error.

Length

Representation of the <length> SVG type.

LengthList

Iterator over list of <length> types.

NumberList

Iterator over list of <number> types.

RgbColor

Representation of the <color> SVG type.

Stream

Stream interface for &[u8] data.

Enums

AttributeId

List of all SVG attributes.

AttributeValue

Representation of SVG attribute value.

ElementId

List of all SVG elements.

Error

List of all supported errors.

LengthUnit

List of all SVG length units.

ValueId

List of all values for presentation attributes.