Skip to main content

InlineAssembly

Trait InlineAssembly 

Source
pub trait InlineAssembly {
    // Required methods
    fn parse_inline_asm(&mut self, asm: &str) -> Result<Vec<String>>;
    fn validate_inline_asm(&mut self, asm: &str) -> Result<bool>;
    fn integrate_inline_asm(
        &mut self,
        assembly: &str,
        inline: &str,
    ) -> Result<String>;
}
Expand description

Inline assembly support

Required Methods§

Source

fn parse_inline_asm(&mut self, asm: &str) -> Result<Vec<String>>

Parse inline assembly

Source

fn validate_inline_asm(&mut self, asm: &str) -> Result<bool>

Validate inline assembly

Source

fn integrate_inline_asm( &mut self, assembly: &str, inline: &str, ) -> Result<String>

Integrate inline assembly

Implementors§