pub type AsmNodeTypeInfo = SerdeNodeTypeInfo;

Aliased Type§

struct AsmNodeTypeInfo {
    pub name: String,
    pub module_name: Option<String>,
}

Fields§

§name: String§module_name: Option<String>

Implementations

source§

impl SerdeNodeTypeInfo

source

pub fn new( name: impl ToString, module_name: Option<impl ToString> ) -> SerdeNodeTypeInfo

Trait Implementations

source§

impl StructuralPartialEq for SerdeNodeTypeInfo

source§

impl NodeTypeInfo for SerdeNodeTypeInfo

source§

impl PartialEq for SerdeNodeTypeInfo

source§

fn eq(&self, other: &SerdeNodeTypeInfo) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Clone for SerdeNodeTypeInfo

source§

fn clone(&self) -> SerdeNodeTypeInfo

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Display for SerdeNodeTypeInfo

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Serialize for SerdeNodeTypeInfo

source§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'de> Deserialize<'de> for SerdeNodeTypeInfo

source§

fn deserialize<__D>( __deserializer: __D ) -> Result<SerdeNodeTypeInfo, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Debug for SerdeNodeTypeInfo

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more