pub struct DriverInfo {
pub flavor: DriverType,
pub name: &'static str,
pub short_name: &'static str,
pub comment: Option<&'static str>,
}
Properties and metadata for a driver.
Fields
flavor | Type of the driver (live or file).
|
name | Full name of driver.
May contain any single line of text.
|
short_name | Short name of driver.
This is the driver name used to refer to the driver when performing
lookups. It contains only alphanumeric characters, and no whitespace.
|
A driver-specified comment.
|
Trait Implementations
Derived Implementations
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).