Skip to main content

resolve_block

Function resolve_block 

Source
pub fn resolve_block(block: Block) -> Block
Expand description

Resolve a Block::Unknown into a typed variant, if the name matches a known block type. Unrecognised names are returned unchanged.