pub enum Data {
Show 24 variants
Section {
id: usize,
},
Header {
id: String,
kind: HeaderKind,
},
Text {
contents: String,
},
Division,
Paragraph,
Span,
Reflink,
Hatnote,
RedirectMessage,
Disambiguation,
Blockquote,
OrderedList,
UnorderedList,
ListItem,
DescriptionList,
DescriptionListTerm,
DerscriptionListDescription,
Bold,
Italic,
Linebreak,
Link(Link),
Unknown,
Unsupported(UnsupportedElement),
UnsupportedInline(UnsupportedElement),
}
Variants§
Section
Header
Text
Division
Paragraph
Span
Reflink
Hatnote
RedirectMessage
Disambiguation
Blockquote
OrderedList
UnorderedList
ListItem
DescriptionList
DescriptionListTerm
DerscriptionListDescription
Bold
Italic
Linebreak
Link(Link)
Unknown
Unsupported(UnsupportedElement)
UnsupportedInline(UnsupportedElement)
Trait Implementations§
impl Eq for Data
impl StructuralPartialEq for Data
Auto Trait Implementations§
impl Freeze for Data
impl RefUnwindSafe for Data
impl Send for Data
impl Sync for Data
impl Unpin for Data
impl UnwindSafe for Data
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.