pub trait Parse {
    type Object;
    type Error;
    type Config;

    fn parse(
        elem: &Node<'_, '_>,
        config: &Self::Config
    ) -> Result<Self::Object, Self::Error>; }
Expand description

Parse trait allows SVD objects to be parsed from XML elements.

Required Associated Types

Object returned by parse method

Parsing error

Advanced parse options

Required Methods

Parse an XML/SVD element into it’s corresponding Object.

Implementations on Foreign Types

Parses a SVD file

Implementors