Skip to main content

Crate ravenrs_live_derive

Crate ravenrs_live_derive 

Source
Expand description

#[ravenrs_live::expose]: registers what an impl block, a struct, an enum or a module offers with a ravenrs_live::Registry, so a playground can call it without a compiler.

Attribute Macros§

expose
Registers the public functions and constants of an inherent impl block, the public fields of a struct, the variants of an enum or the public functions of an inline module, behind the live feature of the crate it is used in. It generates __live_expose (or __live_expose_<part> with part = "...") on the type, or inside the module, which the crate calls when it builds its registry. skip = "a, b" leaves functions out.