[][src]Struct svd_parser::svd::device::Device

pub struct Device {
    pub name: String,
    pub version: Option<String>,
    pub description: Option<String>,
    pub address_unit_bits: Option<u32>,
    pub width: Option<u32>,
    pub cpu: Option<Cpu>,
    pub peripherals: Vec<Peripheral>,
    pub default_register_properties: RegisterProperties,
    // some fields omitted
}

Fields

name: Stringversion: Option<String>description: Option<String>address_unit_bits: Option<u32>width: Option<u32>cpu: Option<Cpu>peripherals: Vec<Peripheral>default_register_properties: RegisterProperties

Trait Implementations

impl Parse for Device[src]

type Object = Device

Object returned by parse method

type Error = Error

Parsing error

fn parse(tree: &Element) -> Result<Device>[src]

Parses a SVD file

impl Clone for Device[src]

impl Debug for Device[src]

Auto Trait Implementations

impl Send for Device

impl Sync for Device

impl Unpin for Device

impl UnwindSafe for Device

impl RefUnwindSafe for Device

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]