Enum golang_type_name_core::TypeName [−][src]
pub enum TypeName {}Show variants
Bool, Uint8, Uint16, Uint32, Uint64, Int8, Int16, Int32, Int64, Float32, Float64, Complex64, Complex128, Byte, Rune, Uint, Int, Uintptr, String, QualifiedIdent(PackageName, String), Identifier(String),
Variants
QualifiedIdent(PackageName, String)
Identifier(String)
Implementations
impl TypeName
[src]
impl TypeName
[src]pub fn from_qualified_type_node(
node: Node<'_>,
source: &[u8]
) -> Result<Self, TypeNameParseError>
[src]
node: Node<'_>,
source: &[u8]
) -> Result<Self, TypeNameParseError>
pub fn from_type_identifier_node(
node: Node<'_>,
source: &[u8]
) -> Result<Self, TypeNameParseError>
[src]
node: Node<'_>,
source: &[u8]
) -> Result<Self, TypeNameParseError>
pub fn name(&self) -> String
[src]
Trait Implementations
impl StructuralEq for TypeName
[src]
impl StructuralEq for TypeName
[src]impl StructuralPartialEq for TypeName
[src]
impl StructuralPartialEq for TypeName
[src]impl ToTokens for TypeName
[src]
impl ToTokens for TypeName
[src]fn to_tokens(&self, tokens: &mut TokenStream)
[src]
pub fn to_token_stream(&self) -> TokenStream
[src]
pub fn into_token_stream(self) -> TokenStream
[src]
Auto Trait Implementations
impl RefUnwindSafe for TypeName
impl RefUnwindSafe for TypeName
impl UnwindSafe for TypeName
impl UnwindSafe for TypeName