Function sapio_miniscript::expression::unary[][src]

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 one child