Function sapio_miniscript::expression::binary
source · pub fn binary<L, R, T, F>(term: &Tree<'_>, convert: F) -> Result<T, Error>
Expand description
Attempts to parse an expression with exactly two children
pub fn binary<L, R, T, F>(term: &Tree<'_>, convert: F) -> Result<T, Error>
Attempts to parse an expression with exactly two children