pub struct VariableDetection;
Expand description

Detects if a group is solely being used to update a register.

Implementations

A group is variable like if it:

  • among write to state_shareable components, there is only one write
  • has @go port equal to 1'd1
  • has g[done] = cell.done Returns the name of the cell if such a group is detected, otherwise returns None.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.