Struct patch_svd::output::Device[][src]

pub struct Device {
    pub schema_version: String,
    pub vendor: Option<String>,
    pub vendor_id: Option<String>,
    pub name: String,
    pub series: Option<String>,
    pub version: String,
    pub description: String,
    pub license_text: Option<String>,
    pub cpu: Cpu,
    pub header_system_filename: Option<String>,
    pub header_definitions_prefix: Option<String>,
    pub address_unit_bits: SvdConstant,
    pub width: SvdConstant,
    pub size: Option<SvdConstant>,
    pub access: Option<AccessType>,
    pub protection: Option<Protection>,
    pub reset_value: Option<SvdConstant>,
    pub reset_mask: Option<SvdConstant>,
    pub peripherals: Peripherals,
}

Fields

schema_version: Stringvendor: Option<String>vendor_id: Option<String>name: Stringseries: Option<String>version: Stringdescription: Stringlicense_text: Option<String>cpu: Cpuheader_system_filename: Option<String>header_definitions_prefix: Option<String>address_unit_bits: SvdConstantwidth: SvdConstantsize: Option<SvdConstant>access: Option<AccessType>protection: Option<Protection>reset_value: Option<SvdConstant>reset_mask: Option<SvdConstant>peripherals: Peripherals

Trait Implementations

impl Clone for Device[src]

impl Debug for Device[src]

impl<'de> Deserialize<'de> for Device[src]

impl Eq for Device[src]

impl PartialEq<Device> for Device[src]

impl StructuralEq for Device[src]

impl StructuralPartialEq for Device[src]

Auto Trait Implementations

impl RefUnwindSafe for Device

impl Send for Device

impl Sync for Device

impl Unpin for Device

impl UnwindSafe for Device

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<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.