pub struct DeviceDesc {
pub max_level: Level,
}Expand description
Adapter::create_device
Fields§
§max_level: Levelthe highest level to enable (the device gets the highest it supports up to this one)
Implementations§
Source§impl DeviceDesc
impl DeviceDesc
pub const DEFAULT: DeviceDesc
Trait Implementations§
Source§impl Clone for DeviceDesc
impl Clone for DeviceDesc
impl Copy for DeviceDesc
Auto Trait Implementations§
impl Forget for DeviceDesc
impl Freeze for DeviceDesc
impl RefUnwindSafe for DeviceDesc
impl Send for DeviceDesc
impl Sync for DeviceDesc
impl Unpin for DeviceDesc
impl UnsafeUnpin for DeviceDesc
impl UnwindSafe for DeviceDesc
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