pub struct DeviceDescriptor {
pub label: Option<String>,
pub required_features: Option<Vec<FeatureName>>,
pub required_limits: Option<Limits>,
pub default_queue: Option<QueueDescriptor>,
pub device_lost_callback_info: Option<DeviceLostCallbackInfo>,
pub uncaptured_error_callback_info: Option<UncapturedErrorCallbackInfo>,
/* private fields */
}Fields§
§label: Option<String>§required_features: Option<Vec<FeatureName>>§required_limits: Option<Limits>§default_queue: Option<QueueDescriptor>§device_lost_callback_info: Option<DeviceLostCallbackInfo>§uncaptured_error_callback_info: Option<UncapturedErrorCallbackInfo>Implementations§
Source§impl DeviceDescriptor
impl DeviceDescriptor
pub fn new() -> Self
pub fn with_extension(self, extension: DeviceDescriptorExtension) -> Self
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for DeviceDescriptor
impl !RefUnwindSafe for DeviceDescriptor
impl !Send for DeviceDescriptor
impl !Sync for DeviceDescriptor
impl Unpin for DeviceDescriptor
impl UnsafeUnpin for DeviceDescriptor
impl !UnwindSafe for DeviceDescriptor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more