[−][src]Function miniscript::expression::unary
pub fn unary<L, T, F>(term: &Tree, convert: F) -> Result<T, Error> where
L: FromTree,
F: FnOnce(L) -> T,
Attempts to parse an expression with exactly two children
pub fn unary<L, T, F>(term: &Tree, convert: F) -> Result<T, Error> where
L: FromTree,
F: FnOnce(L) -> T,
Attempts to parse an expression with exactly two children