diff --git a/crates/thing-core/src/layout/tree.rs b/crates/thing-core/src/layout/tree.rs index ea48888..5b9f86c 100644 --- a/crates/thing-core/src/layout/tree.rs +++ b/crates/thing-core/src/layout/tree.rs @@ -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, - pub clip: bool, - pub scroll: bool, + pub(super) id: &'a NodeId, + pub(super) node: taffy::NodeId, + pub(super) parent: Option, + pub(super) clip: bool, + pub(super) scroll: bool, } pub(super) struct Built<'a> { - pub taffy: TaffyTree, - pub root: taffy::NodeId, - pub entries: Vec>, + pub(super) taffy: TaffyTree, + pub(super) root: taffy::NodeId, + pub(super) entries: Vec>, /// The Taffy context of a measured leaf is its index here. - pub leaves: Vec>, - pub diagnostics: Vec, + pub(super) leaves: Vec>, + pub(super) diagnostics: Vec, } struct Builder<'a, 'm> {