pub struct Invoke {
pub comp: RRC<Cell>,
pub inputs: Vec<(Id, RRC<Port>)>,
pub outputs: Vec<(Id, RRC<Port>)>,
pub attributes: Attributes,
pub comb_group: Option<RRC<CombGroup>>,
pub ref_cells: Vec<(Id, RRC<Cell>)>,
}
Expand description
Data for an invoke
control statement.
Fields§
§comp: RRC<Cell>
Cell that is being invoked.
inputs: Vec<(Id, RRC<Port>)>
Mapping from name of input ports in comp
to the port connected to it.
outputs: Vec<(Id, RRC<Port>)>
Mapping from name of output ports in comp
to the port connected to it.
attributes: Attributes
Attributes attached to this control statement.
comb_group: Option<RRC<CombGroup>>
Optional combinational group that is active when the invoke is active.
ref_cells: Vec<(Id, RRC<Cell>)>
Mapping from name of external cell in ‘comp’ to the cell connected to it.
Trait Implementations§
source§impl GetAttributes for Invoke
impl GetAttributes for Invoke
source§fn get_attributes(&self) -> &Attributes
fn get_attributes(&self) -> &Attributes
Returns an
Attributes
instancesource§fn get_mut_attributes(&mut self) -> &mut Attributes
fn get_mut_attributes(&mut self) -> &mut Attributes
Returns a mutable
Attributes
instanceAuto Trait Implementations§
impl !RefUnwindSafe for Invoke
impl !Send for Invoke
impl !Sync for Invoke
impl Unpin for Invoke
impl !UnwindSafe for Invoke
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more