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