Struct deno_webgpu::op_webgpu_request_device
source · [−]pub struct op_webgpu_request_device;
Implementations
sourceimpl op_webgpu_request_device
impl op_webgpu_request_device
pub fn name() -> &'static str
pub fn v8_fn_ptr() -> FunctionCallback
pub fn decl() -> OpDecl
pub async fn call(
state: Rc<RefCell<OpState>>,
args: RequestDeviceArgs
) -> Result<GpuAdapterDevice, AnyError>
pub fn v8_func(
scope: &mut HandleScope<'_>,
args: FunctionCallbackArguments<'_>,
rv: ReturnValue<'_>
)
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more