block!() { /* proc-macro */ }Expand description
See the “Usage” section of README.md or the repository examples for details on how to use this macro.
§Basic usage
use declarative_macros::block as view;
fn usage() -> String {
view! {
String::new() mut greeting {
push_str: "Hello world!"
}
}
greeting
}