Struct deno_webgpu::op_webgpu_request_device
source · pub struct op_webgpu_request_device { /* private fields */ }
Implementations§
source§impl op_webgpu_request_device
impl op_webgpu_request_device
pub const fn name() -> &'static str
pub const fn decl() -> OpDecl
👎Deprecated: Use the const op::DECL instead
pub async fn call( state: Rc<RefCell<OpState>>, adapter_rid: ResourceId, label: String, required_features: GpuRequiredFeatures, required_limits: Option<Limits> ) -> Result<GpuAdapterDevice, AnyError>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for op_webgpu_request_device
impl Send for op_webgpu_request_device
impl Sync for op_webgpu_request_device
impl Unpin for op_webgpu_request_device
impl UnwindSafe for op_webgpu_request_device
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