[go: up one dir, main page]

comrak::nodes

Function can_contain_type

Source
pub fn can_contain_type<'a>(node: &'a AstNode<'a>, child: &NodeValue) -> bool
Expand description

Returns true if the given node can contain a node with the given value.