MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / func_take_char

Method func_take_char

crates/component-macro/tests/expanded/char.rs:335–344  ·  view source on GitHub ↗
(
                        &self,
                    )

Source from the content-addressed store, hash-verified

333 }
334 impl Guest {
335 pub fn func_take_char(
336 &self,
337 ) -> wasmtime::component::TypedFunc<(char,), ()> {
338 unsafe {
339 wasmtime::component::TypedFunc::<
340 (char,),
341 (),
342 >::new_unchecked(self.take_char)
343 }
344 }
345 /// A function that accepts a character
346 pub fn call_take_char<S: wasmtime::AsContextMut>(
347 &self,

Callers 1

call_take_charMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected