summaryrefslogtreecommitdiff
path: root/src/doc.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-12-14 10:09:44 +0100
committerLaurenz <laurmaedje@gmail.com>2022-12-14 10:09:44 +0100
commit9ba4d2c134479aad876a0e2ac4cd1622a353109e (patch)
treea94e0e6ae53a1ba440e869fca26cc2ea0b179057 /src/doc.rs
parent4c73456fc1f5df8ebb3a89d9db657c3c54624d66 (diff)
New macro setup
Diffstat (limited to 'src/doc.rs')
-rw-r--r--src/doc.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/doc.rs b/src/doc.rs
index d412a371..90cca969 100644
--- a/src/doc.rs
+++ b/src/doc.rs
@@ -10,7 +10,9 @@ use crate::geom::{
Abs, Align, Axes, Dir, Em, Numeric, Paint, Point, Shape, Size, Transform,
};
use crate::image::Image;
-use crate::model::{dict, node, Content, Dict, Fold, StableId, StyleChain, Value};
+use crate::model::{
+ capable, dict, node, Content, Dict, Fold, StableId, StyleChain, Value,
+};
use crate::util::EcoString;
/// A finished document with metadata and page frames.
@@ -539,6 +541,7 @@ impl FromStr for Region {
}
/// Meta information that isn't visible or renderable.
+#[capable]
#[derive(Debug, Clone, Hash)]
pub enum Meta {
/// An internal or external link.