Trait ChiselModule

Source
pub trait ChiselModule<'a> {
    type ObjectReference: ?Sized;

    // Required methods
    fn id(&'a self) -> String;
    fn kind(&'a self) -> ModuleKind;
    fn as_abstract(&'a self) -> Self::ObjectReference;
}
Expand description

Utility interface for chisel modules.

Required Associated Types§

Required Methods§

Source

fn id(&'a self) -> String

Returns the name of the chisel module.

Source

fn kind(&'a self) -> ModuleKind

Source

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

Borrows the instance as a trait object.

Implementors§