WireBody

Trait WireBody 

Source
pub trait WireBody:
    Debug
    + DynClone
    + Send
    + Sync {
    // Required methods
    fn name(&self) -> &'static str;
    fn wire_body(&self, prefix: &str, body: &mut TypedModel) -> TractResult<()>;
    fn w_b_multipliers(&self) -> (usize, usize);
    fn have_extra_c_state(&self) -> bool;
}

Required Methods§

Source

fn name(&self) -> &'static str

Source

fn wire_body(&self, prefix: &str, body: &mut TypedModel) -> TractResult<()>

Source

fn w_b_multipliers(&self) -> (usize, usize)

Source

fn have_extra_c_state(&self) -> bool

Implementors§