Type Alias DeviceDescriptor

Source
pub type DeviceDescriptor<'a> = DeviceDescriptor<Label<'a>>;

Aliased Type§

#[repr(C)]
pub struct DeviceDescriptor<'a> { pub label: Option<Cow<'a, str>>, pub features: Features, pub limits: Limits, }

Fields§

§label: Option<Cow<'a, str>>

Debug label for the device.

§features: Features

Features that the device should support. If any feature is not supported by the adapter, creating a device will panic.

§limits: Limits

Limits that the device should support. If any limit is “better” than the limit exposed by the adapter, creating a device will panic.