Trait mcpat::Component [] [src]

pub trait Component {
    fn area(&self) -> f64;
    fn dynamic_power(&self) -> f64;
    fn leakage_power(&self) -> f64;
}

A component.

Required Methods

Return the area (m2).

Return the dynamic power (W).

Return the leakage power (W).

Implementors