Struct xio_hwdb::Capability[][src]

pub struct Capability {
    pub builtin: bool,
    pub module: String,
    pub id: u16,
}

A capability implemented in a XIO device.

Fields

Flag indicating if the capability is built into the device.

String identifier of the module type.

The module must be present in the modules collection that can be loaded through the filesystem::HardwareDatabase.

The index number of the capability within the XIO device.

Trait Implementations

impl Clone for Capability
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Capability
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Capability
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Capability

impl Sync for Capability