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