pub fn fold_path_segment<F>(f: &mut F, node: PathSegment) -> PathSegmentwhere
    F: Fold + ?Sized,
Available on crate feature fold only.