pub type AsmStruct = SerdeStruct;

Aliased Type§

struct AsmStruct {
    pub meta: Option<Meta>,
    pub name: String,
    pub visibility: Visibility,
    pub fields: Vec<SerdeStructField>,
}

Fields§

§meta: Option<Meta>§name: String§visibility: Visibility§fields: Vec<SerdeStructField>

Implementations

source§

impl SerdeStruct

source

pub fn compile(&self, module_name: &str) -> ScriptStruct<'static>

Trait Implementations

source§

impl Clone for SerdeStruct

source§

fn clone(&self) -> SerdeStruct

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 Debug for SerdeStruct

source§

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

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

impl<'de> Deserialize<'de> for SerdeStruct

source§

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

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

impl Serialize for SerdeStruct

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