pub(crate) fn type_from_path_and_name(path_prefix: Path, name: &str) -> Type {
    let mut path = path_prefix;
    path.segments.push(PathSegment {
        ident: Ident::new(name, Span::call_site()),
        arguments: PathArguments::None,
    });

    Type::Path(TypePath { qself: None, path })
}
/// Using a path prefix and a string name to create a type.
///
/// The name will be turned into an `Ident` and then
/// added to the `path_prefix` to create a [`Type::Path`]
/// variant.
Using a path prefix and a string name to create a type.
Using a path prefix and a string name to create a type .
pub(crate) fn type_from_path_and_name(path_prefix: Path, name: &str) -> Type {
    let mut path = path_prefix;
    path.segments.push(PathSegment {
        ident: Ident::new(name, Span::call_site()),
        arguments: PathArguments::None,
    });
    Type::Path(TypePath { qself: None, path })
}
pub ( crate ) fn type_from_path_and_name ( path_prefix : Path , name : & str ) -> Type { let mut path = path_prefix ; path . segments . push ( PathSegment { ident : Ident :: new ( name , Span :: call_site ( ) ) , arguments : PathArguments :: None , } ) ; Type :: Path ( TypePath { qself : None , path } ) }
Using a path prefix and a string name to create a type.
Using a path prefix and a string name to create a type .
path_prefix
Path
name
&str