mirror of
https://github.com/typst/typst
synced 2025-08-15 07:28:32 +08:00
resolve_grid_child doc
This commit is contained in:
parent
87f430379e
commit
c7e00f7ab2
@ -1048,6 +1048,14 @@ impl<'x> CellGridResolver<'_, '_, 'x> {
|
|||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Resolve a grid child, which can be a header, a footer (both of which
|
||||||
|
/// are row groups, and thus contain multiple grid items inside them), or
|
||||||
|
/// a grid item - a cell, an hline or a vline.
|
||||||
|
///
|
||||||
|
/// This process consists of placing the child and any sub-items into
|
||||||
|
/// appropriate positions in the resolved grid. This is mostly relevant for
|
||||||
|
/// items without fixed positions, such that they must be placed after the
|
||||||
|
/// previous one, perhaps skipping existing cells along the way.
|
||||||
#[allow(clippy::too_many_arguments)]
|
#[allow(clippy::too_many_arguments)]
|
||||||
fn resolve_grid_child<T, I>(
|
fn resolve_grid_child<T, I>(
|
||||||
&mut self,
|
&mut self,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user