Lines Matching refs:AliasVariation
869 AliasVariation::TypeAlias in codegen()
871 AliasVariation::NewType in codegen()
873 AliasVariation::NewTypeDeref in codegen()
887 alias_style == AliasVariation::TypeAlias && in codegen()
903 AliasVariation::TypeAlias => quote! { in codegen()
906 AliasVariation::NewType | AliasVariation::NewTypeDeref => { in codegen()
959 AliasVariation::TypeAlias => quote! { in codegen()
962 AliasVariation::NewType | AliasVariation::NewTypeDeref => { in codegen()
969 if alias_style == AliasVariation::NewTypeDeref { in codegen()
3192 pub enum AliasVariation { enum
3201 impl AliasVariation { implementation
3205 AliasVariation::TypeAlias => "type_alias", in as_str()
3206 AliasVariation::NewType => "new_type", in as_str()
3207 AliasVariation::NewTypeDeref => "new_type_deref", in as_str()
3212 impl Default for AliasVariation { implementation
3213 fn default() -> AliasVariation { in default()
3214 AliasVariation::TypeAlias in default()
3218 impl std::str::FromStr for AliasVariation { implementation
3224 "type_alias" => Ok(AliasVariation::TypeAlias), in from_str()
3225 "new_type" => Ok(AliasVariation::NewType), in from_str()
3226 "new_type_deref" => Ok(AliasVariation::NewTypeDeref), in from_str()