Struct xio_hwdb::Module [−][src]
pub struct Module { pub caption: String, pub description: GenericDescription, pub channels: Vec<Channel>, }
Description of a XIO module.
This describes the functionality that can be provided by a module. A XIO board can have multiple capabilities referencing the same module description. If a board has e.g. two A/D converters of the same type, there are two capabilities which reference the same module id.
Fields
Caption of the module.
description: GenericDescription
Generic description of the module.
channels: Vec<Channel>
List of channels provided by the module.
Trait Implementations
impl Clone for Module
[src]
impl Clone for Module
fn clone(&self) -> Module
[src]
fn clone(&self) -> Module
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Module
[src]
impl Debug for Module
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Module
[src]
impl PartialEq for Module
fn eq(&self, other: &Module) -> bool
[src]
fn eq(&self, other: &Module) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Module) -> bool
[src]
fn ne(&self, other: &Module) -> bool
This method tests for !=
.
impl Default for Module
[src]
impl Default for Module