Skip to main content

is_block_rd_macro

Function is_block_rd_macro 

Source
pub fn is_block_rd_macro(name: &str) -> bool
Expand description

Whether the macro named name (without the leading \) is block-level — a display construct that owns its own lines rather than inline markup inside a prose run. See [BLOCK_RD_MACROS]. pub for the formatter, which keys a macro’s layout on it (semver-loose, see the crate docs).