MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / all

Method all

crates/core/src/async_.rs:56–64  ·  view source on GitHub ↗

Returns a set where all functions should be async or not depending on `async_` provided.

(async_: bool)

Source from the content-addressed store, hash-verified

54 /// Returns a set where all functions should be async or not depending on
55 /// `async_` provided.
56 pub fn all(async_: bool) -> AsyncFilterSet {
57 AsyncFilterSet {
58 async_: vec![Async {
59 enabled: async_,
60 filter: AsyncFilter::All,
61 }],
62 used_options: HashSet::new(),
63 }
64 }
65
66 /// Returns whether the `func` provided is to be bound `async` or not.
67 pub fn is_async(

Callers 4

move_if_necessaryFunction · 0.80
is_structurally_equalMethod · 0.80
finishMethod · 0.80
is_prim_type_idFunction · 0.80

Calls 1

newFunction · 0.85

Tested by

no test coverage detected