pub enum DirectiveNode {
Admonition {
content_indent: usize,
classes: Option<String>,
name: Option<String>,
variant: AdmonitionType,
},
Image(ImageDirective),
BodyElement(BodyElementDirective),
Table(TableDirective),
DocumentPart(DocumentPartDirective),
Reference(ReferenceDirective),
HTMLspecific(HTMLSpecificDirective),
SubstitutionDef(SubstitutionDefDirective),
Miscellaneous(MiscellaneousDirective),
APlusrSTTools(AplusDirective),
}Expand description
An enumeration of the different directive types found in reStructuredText and LarST.
Variants§
Admonition
Image(ImageDirective)
BodyElement(BodyElementDirective)
Table(TableDirective)
DocumentPart(DocumentPartDirective)
Reference(ReferenceDirective)
HTMLspecific(HTMLSpecificDirective)
SubstitutionDef(SubstitutionDefDirective)
Miscellaneous(MiscellaneousDirective)
APlusrSTTools(AplusDirective)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DirectiveNode
impl RefUnwindSafe for DirectiveNode
impl Send for DirectiveNode
impl Sync for DirectiveNode
impl Unpin for DirectiveNode
impl UnwindSafe for DirectiveNode
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