pub trait CellLoadModel<N: NetlistIds>:
TimingBase
+ LoadBase
+ CellModel<N> {
// Required methods
fn input_pin_load(
&self,
input_pin: &N::PinId,
other_inputs: &impl Fn(&N::PinId) -> Option<Self::LogicValue>,
) -> Self::Load;
fn zero(&self) -> Self::Load;
}Expand description
Abstraction of electrical loads created by input pins.
Required Methods§
Sourcefn input_pin_load(
&self,
input_pin: &N::PinId,
other_inputs: &impl Fn(&N::PinId) -> Option<Self::LogicValue>,
) -> Self::Load
fn input_pin_load( &self, input_pin: &N::PinId, other_inputs: &impl Fn(&N::PinId) -> Option<Self::LogicValue>, ) -> Self::Load
Get the load created by a pin, typically its capacitance.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.