Enum rust_gpu_tools::opencl::UniqueId [−][src]
pub enum UniqueId {
PciId(PciId),
Uuid(DeviceUuid),
}
Expand description
Unique identifier that can either be a PCI ID or a UUID.
Variants
Tuple Fields of PciId
0: PciId
Tuple Fields of Uuid
0: DeviceUuid
Trait Implementations
If the string contains a dash, it’s interpreted as UUID, else it’s interpreted as PCI ID.
Auto Trait Implementations
impl RefUnwindSafe for UniqueId
impl UnwindSafe for UniqueId
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self