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: AttributesAttributes 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 Freeze for Invoke
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more