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§
source§impl<A: Api> From<OpenDevice<A>> for DynOpenDevice
impl<A: Api> From<OpenDevice<A>> for DynOpenDevice
source§fn from(open_device: OpenDevice<A>) -> Self
fn from(open_device: OpenDevice<A>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<A> RefUnwindSafe for OpenDevice<A>
impl<A> Send for OpenDevice<A>
impl<A> Sync for OpenDevice<A>
impl<A> Unpin for OpenDevice<A>
impl<A> UnwindSafe for OpenDevice<A>
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