pub enum StructuralKind {
Paragraph,
Heading,
BlockQuote,
List,
ListItem,
DefinitionList,
DefinitionDescription,
FootnoteDefinition,
ThematicBreak,
Table,
}Expand description
Structural owner kinds with source ranges.
Variants§
Paragraph
Heading
BlockQuote
List
ListItem
DefinitionList
DefinitionDescription
FootnoteDefinition
ThematicBreak
Table
Trait Implementations§
Source§impl Clone for StructuralKind
impl Clone for StructuralKind
Source§fn clone(&self) -> StructuralKind
fn clone(&self) -> StructuralKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StructuralKind
impl Debug for StructuralKind
Source§impl PartialEq for StructuralKind
impl PartialEq for StructuralKind
Source§fn eq(&self, other: &StructuralKind) -> bool
fn eq(&self, other: &StructuralKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for StructuralKind
impl Eq for StructuralKind
impl StructuralPartialEq for StructuralKind
Auto Trait Implementations§
impl Freeze for StructuralKind
impl RefUnwindSafe for StructuralKind
impl Send for StructuralKind
impl Sync for StructuralKind
impl Unpin for StructuralKind
impl UnsafeUnpin for StructuralKind
impl UnwindSafe for StructuralKind
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