Enum golang_struct_tag::StructTag [−][src]
pub enum StructTag { RawStringLiteral(String), InterpretedStringLiteral(String), Convention(HashSet<ConventionStructTag>), }
Variants
RawStringLiteral(String)
InterpretedStringLiteral(String)
Convention(HashSet<ConventionStructTag>)
Implementations
impl StructTag
[src]
impl StructTag
[src]pub fn as_json_struct_tag(&self) -> Option<&JsonStructTag>
[src]
impl StructTag
[src]
impl StructTag
[src]pub fn from_raw_string_literal_node(
node: Node<'_>,
source: &[u8]
) -> Result<Self, StructTagParseError>
[src]
node: Node<'_>,
source: &[u8]
) -> Result<Self, StructTagParseError>
pub fn from_interpreted_string_literal_node(
node: Node<'_>,
source: &[u8]
) -> Result<Self, StructTagParseError>
[src]
node: Node<'_>,
source: &[u8]
) -> Result<Self, StructTagParseError>
Trait Implementations
impl StructuralEq for StructTag
[src]
impl StructuralEq for StructTag
[src]impl StructuralPartialEq for StructTag
[src]
impl StructuralPartialEq for StructTag
[src]Auto Trait Implementations
impl RefUnwindSafe for StructTag
impl RefUnwindSafe for StructTag
impl UnwindSafe for StructTag
impl UnwindSafe for StructTag