Trait wit_bindgen::WasmResource
source · pub unsafe trait WasmResource {
// Required method
unsafe fn drop(handle: u32);
}
Expand description
A trait which all wasm resources implement, namely providing the ability to drop a resource.
This generally is implemented by generated code, not user-facing code.
Required Methods§
Object Safety§
This trait is not object safe.