struct PinSpec<'a> {
id: PinId,
owner: BlockId,
name: &'a str,
slot: PinSlot,
dir: PinDir,
body: GridRect,
}Expand description
A pin to create. slot places it on its block-as-child; body places the
same pin inside the block’s own interior view, where the scope draws it as a
free-standing port. The two are independent, and the default body is the
trap: every boundary port left at it stacks at the origin, and the wires
anchored there start from inside whatever block sits over that spot.
Fields§
§id: PinId§owner: BlockId§name: &'a str§slot: PinSlot§dir: PinDir§body: GridRectImplementations§
Auto Trait Implementations§
impl<'a> Freeze for PinSpec<'a>
impl<'a> RefUnwindSafe for PinSpec<'a>
impl<'a> Send for PinSpec<'a>
impl<'a> Sync for PinSpec<'a>
impl<'a> Unpin for PinSpec<'a>
impl<'a> UnsafeUnpin for PinSpec<'a>
impl<'a> UnwindSafe for PinSpec<'a>
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