pub(crate) struct Placed {
pub pos: Vec<(usize, usize, usize, usize)>,
pub n_rows: usize,
pub n_cols: usize,
pub neg_rows: usize,
pub neg_cols: usize,
}Expand description
配置の結果。pos[i] = (row, col, row_span, col_span)(暗黙の前方トラックを足した 0 始まり)。
Fields§
§pos: Vec<(usize, usize, usize, usize)>§n_rows: usize§n_cols: usize§neg_rows: usize明示グリッドより前に作られた暗黙トラック数。
neg_cols: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for Placed
impl RefUnwindSafe for Placed
impl Send for Placed
impl Sync for Placed
impl Unpin for Placed
impl UnsafeUnpin for Placed
impl UnwindSafe for Placed
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