Enum svgdom::Error[][src]

pub enum Error {
    ElementMustHaveAnId,
    ElementCrosslink,
}

SVG DOM errors.

Variants

If you want to use referenced element inside link attribute, such element must have a non-empty ID.

Linked nodes can't reference each other or itself.

Examples

<linearGradient id="lg1" xlink:href="#lg2"/>
<linearGradient id="lg2" xlink:href="#lg1"/>

or

<linearGradient id="lg1" xlink:href="#lg1"/>

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl From<Error> for ParserError
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error