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