Enum calyx_ir::PortParent
source · pub enum PortParent {
Cell(WRC<Cell>),
Group(WRC<Group>),
StaticGroup(WRC<StaticGroup>),
}
Expand description
Ports can come from Cells or Groups
Variants§
Trait Implementations§
source§impl Clone for PortParent
impl Clone for PortParent
source§fn clone(&self) -> PortParent
fn clone(&self) -> PortParent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for PortParent
impl !Send for PortParent
impl !Sync for PortParent
impl Unpin for PortParent
impl !UnwindSafe for PortParent
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