impl Clone, Copy on public objects

This commit is contained in:
Noah Hellman 2023-02-04 20:10:56 +01:00
parent 477eadde1c
commit 0de7776020
2 changed files with 4 additions and 4 deletions

View file

@ -261,7 +261,7 @@ pub enum Alignment {
}
/// The type of an inline span link.
#[derive(Debug, PartialEq, Eq)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum SpanLinkType {
/// E.g. `[text](url)`
Inline,
@ -270,7 +270,7 @@ pub enum SpanLinkType {
}
/// The type of an inline link.
#[derive(Debug, PartialEq, Eq)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum LinkType {
/// E.g. `[text](url)`.
Span(SpanLinkType),