layout: the walk's structs are crate-private by visibility, not by luck
This commit is contained in:
parent
123366ca46
commit
83db53ec83
1 changed files with 10 additions and 10 deletions
|
|
@ -13,20 +13,20 @@ static ABSENT: Bound = Bound::Absent;
|
|||
|
||||
/// One laid node, in document order. `parent` is the entry of the nearest laid ancestor.
|
||||
pub(super) struct Entry<'a> {
|
||||
pub id: &'a NodeId,
|
||||
pub node: taffy::NodeId,
|
||||
pub parent: Option<usize>,
|
||||
pub clip: bool,
|
||||
pub scroll: bool,
|
||||
pub(super) id: &'a NodeId,
|
||||
pub(super) node: taffy::NodeId,
|
||||
pub(super) parent: Option<usize>,
|
||||
pub(super) clip: bool,
|
||||
pub(super) scroll: bool,
|
||||
}
|
||||
|
||||
pub(super) struct Built<'a> {
|
||||
pub taffy: TaffyTree<usize>,
|
||||
pub root: taffy::NodeId,
|
||||
pub entries: Vec<Entry<'a>>,
|
||||
pub(super) taffy: TaffyTree<usize>,
|
||||
pub(super) root: taffy::NodeId,
|
||||
pub(super) entries: Vec<Entry<'a>>,
|
||||
/// The Taffy context of a measured leaf is its index here.
|
||||
pub leaves: Vec<Leaf<'a>>,
|
||||
pub diagnostics: Vec<Diagnostic>,
|
||||
pub(super) leaves: Vec<Leaf<'a>>,
|
||||
pub(super) diagnostics: Vec<Diagnostic>,
|
||||
}
|
||||
|
||||
struct Builder<'a, 'm> {
|
||||
|
|
|
|||
Loading…
Reference in a new issue