Struct avr_mcu::Device
[−]
[src]
pub struct Device { pub name: String, pub address_spaces: Vec<AddressSpace>, pub peripherals: Vec<Peripheral>, pub interrupts: Vec<Interrupt>, }
Information fore a specific device.
Fields
name: String
The name of the device.
address_spaces: Vec<AddressSpace>
A list of all address spaces the device has.
peripherals: Vec<Peripheral>
A list of supported peripherals.
interrupts: Vec<Interrupt>
A list of supported interrupts
Trait Implementations
impl Clone for Device
[src]
fn clone(&self) -> Device
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Device
[src]
impl PartialOrd for Device
[src]
fn partial_cmp(&self, __arg_0: &Device) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &Device) -> bool
[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &Device) -> bool
[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &Device) -> bool
[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &Device) -> bool
[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl PartialEq for Device
[src]
fn eq(&self, __arg_0: &Device) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Device) -> bool
[src]
This method tests for !=
.