dioxus_autofmt

Function write_block_out

Source
pub fn write_block_out(body: &CallBody) -> Option<String>
Expand description

Write a Callbody (the rsx block) to a string

If the tokens can’t be formatted, this returns None. This is usually due to an incomplete expression that passed partial expansion but failed to parse.