Struct wgpu_hal::OpenDevice
source · pub struct OpenDevice<A: Api> {
pub device: A::Device,
pub queue: A::Queue,
}
Fields§
§device: A::Device
§queue: A::Queue
Trait Implementations§
Auto Trait Implementations§
impl<A> RefUnwindSafe for OpenDevice<A>where <A as Api>::Device: RefUnwindSafe, <A as Api>::Queue: RefUnwindSafe,
impl<A> Send for OpenDevice<A>
impl<A> Sync for OpenDevice<A>
impl<A> Unpin for OpenDevice<A>where <A as Api>::Device: Unpin, <A as Api>::Queue: Unpin,
impl<A> UnwindSafe for OpenDevice<A>where <A as Api>::Device: UnwindSafe, <A as Api>::Queue: UnwindSafe,
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