pub enum PortRef {
Input(u8),
Output(u8),
}Expand description
Reference to a port position on an op’s input/output list.
Indices into AtomicOpDecl.inputs / outputs.
Variants§
Trait Implementations§
impl Copy for PortRef
impl Eq for PortRef
impl StructuralPartialEq for PortRef
Auto Trait Implementations§
impl Freeze for PortRef
impl RefUnwindSafe for PortRef
impl Send for PortRef
impl Sync for PortRef
impl Unpin for PortRef
impl UnsafeUnpin for PortRef
impl UnwindSafe for PortRef
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