ReferenceCounted

Trait ReferenceCounted 

Source
pub trait ReferenceCounted: Network {
    // Required method
    fn num_references(&self, a: Self::Signal) -> usize;
}
Expand description

Provide the number of nodes which have a given node in their fan-in.

Required Methods§

Source

fn num_references(&self, a: Self::Signal) -> usize

Count the number of nodes which have the signal a in their fan-in.

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.

Implementors§