MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / actor_derive

Function actor_derive

flow-derive/src/lib.rs:64–67  ·  view source on GitHub ↗
(input: TokenStream)

Source from the content-addressed store, hash-verified

62/// attributes(local): spawn actor by `flow_rs::rt::task::spawn_local`
63#[proc_macro_derive(Actor, attributes(local))]
64pub fn actor_derive(input: TokenStream) -> TokenStream {
65 let input = parse_macro_input!(input as DeriveInput);
66 actor::expand(input).into()
67}
68
69#[doc(hidden)]
70#[proc_macro_derive(Parser)]

Callers

nothing calls this directly

Calls 1

expandFunction · 0.70

Tested by

no test coverage detected