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.

Generic description of the module.

List of channels provided by the module.

Trait Implementations

impl Clone for Module
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Module
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Module
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for Module
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Module

impl Sync for Module