diff options
Diffstat (limited to 'library/src/text/deco.rs')
| -rw-r--r-- | library/src/text/deco.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/src/text/deco.rs b/library/src/text/deco.rs index cd3acef5..aaf6cfa8 100644 --- a/library/src/text/deco.rs +++ b/library/src/text/deco.rs @@ -70,7 +70,7 @@ impl<const L: DecoLine> Show for DecoNode<L> { /// /// For more details, see [`DecoNode`]. #[derive(Debug, Clone, Eq, PartialEq, Hash)] -pub struct Decoration { +pub(super) struct Decoration { pub line: DecoLine, pub stroke: PartialStroke<Abs>, pub offset: Smart<Abs>, @@ -91,7 +91,7 @@ pub const STRIKETHROUGH: DecoLine = 1; pub const OVERLINE: DecoLine = 2; /// Add line decorations to a single run of shaped text. -pub fn decorate( +pub(super) fn decorate( frame: &mut Frame, deco: &Decoration, text: &Text, |
