rio_window::platform::windows

Trait DeviceIdExtWindows

Source
pub trait DeviceIdExtWindows {
    // Required method
    fn persistent_identifier(&self) -> Option<String>;
}
Expand description

Additional methods on DeviceId that are specific to Windows.

Required Methods§

Source

fn persistent_identifier(&self) -> Option<String>

Returns an identifier that persistently refers to this specific device.

Will return None if the device is no longer available.

Implementors§