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