Struct svd_parser::Device [] [src]

pub struct Device {
    pub name: String,
    pub cpu: Option<Cpu>,
    pub peripherals: Vec<Peripheral>,
    pub defaults: Defaults,
    // some fields omitted
}

Fields

Methods

impl Device
[src]

[src]

Parses a SVD file

Panics

If the input is an invalid SVD file (yay, no error handling)

Trait Implementations

impl Clone for Device
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Device
[src]

[src]

Formats the value using the given formatter.