pub struct IDLModuleGenerator<'info> {
    pub module: &'info IDLModule,
    pub script_fns: Vec<ScriptFunctionType<'info>>,
}

Fields

module: &'info IDLModulescript_fns: Vec<ScriptFunctionType<'info>>

Implementations

source

pub fn generate_entry_payloads_module(
    &self,
    ctx: &CodegenContext<'_>
) -> Result<CodeText>

source

pub fn generate_entry_names_module(
    &self,
    ctx: &CodegenContext<'_>
) -> Result<CodeText>

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.