[][src]Function parsed::matcher::unit

pub fn unit<T: 'static, F: Fn() -> T + 'static>(f: F) -> impl Matcher<T>