[][src]Trait libchisel::ChiselModule

pub trait ChiselModule<'a> {
    type ObjectReference: ?Sized;
    fn id(&'a self) -> String;
fn kind(&'a self) -> ModuleKind;
fn as_abstract(&'a self) -> Self::ObjectReference; }

Utility interface for chisel modules.

Associated Types

Loading content...

Required methods

fn id(&'a self) -> String

Returns the name of the chisel module.

fn kind(&'a self) -> ModuleKind

fn as_abstract(&'a self) -> Self::ObjectReference

Borrows the instance as a trait object.

Loading content...

Implementors

impl<'a> ChiselModule<'a> for Deployer[src]

type ObjectReference = &'a dyn ModuleTranslator

impl<'a> ChiselModule<'a> for DropSection[src]

type ObjectReference = &'a dyn ModuleTranslator

impl<'a> ChiselModule<'a> for CheckFloat[src]

type ObjectReference = &'a dyn ModuleValidator

impl<'a> ChiselModule<'a> for CheckStartFunc[src]

type ObjectReference = &'a dyn ModuleValidator

impl<'a> ChiselModule<'a> for RemapImports<'a>[src]

type ObjectReference = &'a dyn ModuleTranslator

impl<'a> ChiselModule<'a> for RemapStart[src]

type ObjectReference = &'a dyn ModuleTranslator

impl<'a> ChiselModule<'a> for Repack[src]

type ObjectReference = &'a dyn ModuleTranslator

impl<'a> ChiselModule<'a> for Snip[src]

type ObjectReference = &'a dyn ModuleTranslator

impl<'a> ChiselModule<'a> for TrimExports[src]

type ObjectReference = &'a dyn ModuleTranslator

impl<'a> ChiselModule<'a> for TrimStartFunc[src]

type ObjectReference = &'a dyn ModuleTranslator

impl<'a> ChiselModule<'a> for VerifyExports<'a>[src]

type ObjectReference = &'a dyn ModuleValidator

impl<'a> ChiselModule<'a> for VerifyImports<'a>[src]

type ObjectReference = &'a dyn ModuleValidator

Loading content...