Struct calyx_ir::StaticInvoke
source · pub struct StaticInvoke {
pub comp: RRC<Cell>,
pub latency: u64,
pub inputs: Vec<(Id, RRC<Port>)>,
pub outputs: Vec<(Id, RRC<Port>)>,
pub attributes: Attributes,
pub ref_cells: Vec<(Id, RRC<Cell>)>,
}
Expand description
Data for a StaticInvoke
control statement
Fields§
§comp: RRC<Cell>
Cell that is being invoked.
latency: u64
StaticLatency
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.
ref_cells: Vec<(Id, RRC<Cell>)>
Mapping from name of external cell in ‘comp’ to the cell connected to it.
Trait Implementations§
source§impl Debug for StaticInvoke
impl Debug for StaticInvoke
source§impl GetAttributes for StaticInvoke
impl GetAttributes for StaticInvoke
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 StaticInvoke
impl !Send for StaticInvoke
impl !Sync for StaticInvoke
impl Unpin for StaticInvoke
impl !UnwindSafe for StaticInvoke
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