Switch

Type Alias Switch 

Source
pub type Switch = Switch;
Expand description

Type alias of crate::Switch

Aliased Type§

pub struct Switch {
    pub mount: String,
    pub brand: String,
    pub typ: String,
}

Fields§

§mount: String

The switch mount. Typically either "cherry" or "alps".

§brand: String

The switch brand. KLE uses lowercase brand names.

§typ: String

The switch type. KLE uses either part number or colour depending on the brand.