diff options
Diffstat (limited to 'components/gfx_traits/lib.rs')
-rw-r--r-- | components/gfx_traits/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/gfx_traits/lib.rs b/components/gfx_traits/lib.rs index 6f5b380dd43..4500a3816da 100644 --- a/components/gfx_traits/lib.rs +++ b/components/gfx_traits/lib.rs @@ -105,3 +105,8 @@ pub fn node_id_from_clip_id(id: usize) -> Option<usize> { } None } + +pub trait DisplayList { + /// Returns true if this display list contains meaningful content. + fn is_contentful(&self) -> bool; +} |