pub fn name_for_vendor_id(vendor_id: u16) -> String {
    match vendor_id {
        0x8086 => "Intel Corp. (0x8086)".into(),
        0x1234 => "QEMU (0x1234)".into(),
        _ => format!("Unknown({:#06X})", vendor_id),
    }
}
/// Converts a u16 vendor id into a human-readable name.
Converts a u16 vendor id into a human-readable name.
Converts a u16 vendor id into a human - readable name .
pub fn name_for_vendor_id(vendor_id: u16) -> String {
    match vendor_id {
        0x8086 => "Intel Corp. (0x8086)".into(),
        0x1234 => "QEMU (0x1234)".into(),
        _ => format!("Unknown({:#06X})", vendor_id),
    }
}
pub fn name_for_vendor_id ( vendor_id : u16 ) -> String { match vendor_id { 0x8086 => " " . into ( ) , 0x1234 => " " . into ( ) , _ => format ! ( " " vendor_id ) , } }
Converts a u16 vendor id into a human-readable name.
Converts a u16 vendor id into a human - readable name .
vendor_id
u16