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

The position of the error.

Length

Representation of the <length> type.

LengthList

Iterator over a list of <length> types.

NumberList

Iterator over a list of <number> types.

RgbColor

Representation of the <color> type.

Stream

Streaming interface for &[u8] data.

Enums

AttributeId

List of all SVG attributes.

AttributeValue

Representation of the SVG attribute value.

ElementId

List of all SVG elements.

Error

List of all supported errors.

LengthUnit

List of all SVG length units.

PaintFallback

The paint type fallback value in case the FuncIRI is not resolved.

ValueId

List of all values for presentation attributes.