Macro stageleft::q

source ยท
q!() { /* proc-macro */ }
Expand description

Creates a quoted expression for Hydro.

Creates a quoted expression, which can be typechecked but has its AST serialized until it is spliced into a staged entrypoint. Returns a value which implements Quoted<T>, where T is the type of the expression, and also may implement IntoQuotedMut<T> is the values it captures would be safe to capture inside an FnMut context.