mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Make NodeExt private in layout_2020
This commit is contained in:
parent
10eccc8beb
commit
24b7eadfff
2 changed files with 8 additions and 4 deletions
|
@ -284,7 +284,7 @@ impl Drop for BoxSlot<'_> {
|
|||
}
|
||||
}
|
||||
|
||||
pub trait NodeExt<'dom>: 'dom + Copy + LayoutNode + Send + Sync {
|
||||
pub(crate) trait NodeExt<'dom>: 'dom + Copy + LayoutNode + Send + Sync {
|
||||
fn is_element(self) -> bool;
|
||||
fn as_text(self) -> Option<String>;
|
||||
fn first_child(self) -> Option<Self>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue