[][src]Trait wooting_sdk::FromScanIndex

pub trait FromScanIndex: Sized {
    fn from_scan_index(index: u8) -> Option<Self>;
}

Types that implement this trait can be associated with a scan index.

Required methods

fn from_scan_index(index: u8) -> Option<Self>

Return the instance of this type for the given scan index.

Loading content...

Implementors

impl FromScanIndex for Key[src]

fn from_scan_index(index: u8) -> Option<Self>[src]

Return the key that corresponds to the provided scan index, if any.

Loading content...