summaryrefslogtreecommitdiff
path: root/library/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/shared')
-rw-r--r--library/src/shared/ext.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/library/src/shared/ext.rs b/library/src/shared/ext.rs
index 23db71f9..ba3579e7 100644
--- a/library/src/shared/ext.rs
+++ b/library/src/shared/ext.rs
@@ -98,6 +98,7 @@ impl StyleMapExt for StyleMap {
}
/// Fill the frames resulting from content.
+#[capable(Layout)]
#[derive(Debug, Hash)]
struct FillNode {
/// How to fill the frames resulting from the `child`.
@@ -106,7 +107,7 @@ struct FillNode {
child: Content,
}
-#[node(Layout)]
+#[node]
impl FillNode {}
impl Layout for FillNode {
@@ -126,6 +127,7 @@ impl Layout for FillNode {
}
/// Stroke the frames resulting from content.
+#[capable(Layout)]
#[derive(Debug, Hash)]
struct StrokeNode {
/// How to stroke the frames resulting from the `child`.
@@ -134,7 +136,7 @@ struct StrokeNode {
child: Content,
}
-#[node(Layout)]
+#[node]
impl StrokeNode {}
impl Layout for StrokeNode {