syntax::ast::make

Function path_segment_ty

source
pub fn path_segment_ty(
    type_ref: Type,
    trait_ref: Option<PathType>,
) -> PathSegment