struct Scale {
ids: Allocator,
n: usize,
sheet: BlockId,
grid: Vec<BlockId>,
inputs: Vec<PinId>,
outputs: Vec<PinId>,
pins: Vec<GridPins>,
}Expand description
Every id the grid uses, minted in the order the file numbers them: the sheet, then the grid blocks row-major; the sheet’s boundary ports, then each grid block’s four.
Fields§
§ids: Allocator§n: usize§sheet: BlockId§grid: Vec<BlockId>§inputs: Vec<PinId>§outputs: Vec<PinId>§pins: Vec<GridPins>Implementations§
Auto Trait Implementations§
impl Freeze for Scale
impl RefUnwindSafe for Scale
impl Send for Scale
impl Sync for Scale
impl Unpin for Scale
impl UnsafeUnpin for Scale
impl UnwindSafe for Scale
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