[−][src]Trait usb_ids::FromId
A convenience trait for retrieving a top-level entity (like a Vendor
) from the USB
database by its unique ID.
Required methods
pub fn from_id(id: T) -> Option<&'static Self>
[src]
Returns the entity corresponding to id
, or None
if none exists.