mirror of
https://github.com/denoland/deno.git
synced 2025-03-04 01:44:26 -05:00
![]() Implementation of generics for `#[op2]`, along with some refactoring to improve the ergonomics of ops with generics parameters: - The ops have generics on the struct rather than the associated methods, which allows us to trait-ify ops (impossible when they are on the methods) - The decl() method can become a trait-associated const field which unlocks future optimizations Callers of ops need to switch from: `op_net_connect_tcp::call::<TestPermission>(conn_state, ip_addr)` to `op_net_connect_tcp::<TestPermission>::call(conn_state, ip_addr)`. |
||
---|---|---|
.. | ||
bindings.js | ||
bindings.rs | ||
encode_decode_test.js | ||
error_builder_test.js | ||
icudtl.dat | ||
jsrealm.rs | ||
jsruntime.rs | ||
mod.rs | ||
ops.rs | ||
serialize_deserialize_test.js | ||
snapshot_util.rs | ||
tests.rs |