pub struct SizeClass {
pub min_footprint: [u32; 2],
pub max_footprint: [u32; 2],
pub min_clearance: u32,
pub nominal_traverse_blocks: u32,
}Expand description
A rung of the size-class ladder — the vocabulary a layout-graph node declares and a site-plan box is judged against.
Fields§
§min_footprint: [u32; 2]Smallest interior footprint, [x, z] in cells, inclusive.
max_footprint: [u32; 2]Largest interior footprint, [x, z] in cells, inclusive.
min_clearance: u32Least interior clearance, in cells.
nominal_traverse_blocks: u32Nominal blocks of route a body walks crossing a place of this class — the per-leg length the pacing projection sums over a critical path (spec-0049 §3.3).
The code that reads it is not named here on purpose: a DW number in a
source comment is a code as far as tools/ci/check-dw-codes.py is
concerned, and one whose check lands two rounds from now has no catalog
row to match, so naming it early reds the docs job on a rule nothing has
written yet.
Trait Implementations§
impl Copy for SizeClass
impl Eq for SizeClass
impl StructuralPartialEq for SizeClass
Auto Trait Implementations§
impl Freeze for SizeClass
impl RefUnwindSafe for SizeClass
impl Send for SizeClass
impl Sync for SizeClass
impl Unpin for SizeClass
impl UnsafeUnpin for SizeClass
impl UnwindSafe for SizeClass
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