fn is_impl_single_line(
    context: &RewriteContext<'_>,
    items: &[P<AssocItem>],
    result: &str,
    where_clause_str: &str,
    item: &Item
) -> Option<bool>