pub struct WgpuAdapterRuntime { /* private fields */ }Expand description
A successful adapter probe with the retained device context that produced it.
Implementations§
Source§impl WgpuAdapterRuntime
impl WgpuAdapterRuntime
Sourcepub fn new(probe: WgpuAdapterProbe, device: Device, queue: Queue) -> Self
pub fn new(probe: WgpuAdapterProbe, device: Device, queue: Queue) -> Self
Joins capsule-observed evidence to the retained device and queue that produced it. The provider never enumerates the host itself.
Sourcepub fn probe(&self) -> &WgpuAdapterProbe
pub fn probe(&self) -> &WgpuAdapterProbe
Returns the capsule-supplied probe evidence.
Auto Trait Implementations§
impl !RefUnwindSafe for WgpuAdapterRuntime
impl !UnwindSafe for WgpuAdapterRuntime
impl Freeze for WgpuAdapterRuntime
impl Send for WgpuAdapterRuntime
impl Sync for WgpuAdapterRuntime
impl Unpin for WgpuAdapterRuntime
impl UnsafeUnpin for WgpuAdapterRuntime
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