mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Move is_connected function from style to layout, where it is used
This commit is contained in:
parent
5be6779f9a
commit
5a165c6bd8
3 changed files with 7 additions and 7 deletions
|
@ -104,6 +104,9 @@ pub trait LayoutNode: Debug + GetLayoutData + TNode {
|
|||
fn traverse_preorder(self) -> TreeIterator<Self> {
|
||||
TreeIterator::new(self)
|
||||
}
|
||||
|
||||
/// Returns whether the node is connected.
|
||||
fn is_connected(&self) -> bool;
|
||||
}
|
||||
|
||||
pub struct ReverseChildrenIterator<ConcreteNode>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue