Enum rustla::doctree::directives::DirectiveNode[][src]

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),
}

An enumeration of the different directive types found in reStructuredText and LarST.

Variants

Admonition

Fields of Admonition

content_indent: usizeclasses: Option<String>name: Option<String>variant: AdmonitionType
DocumentPart(DocumentPartDirective)
HTMLspecific(HTMLSpecificDirective)
SubstitutionDef(SubstitutionDefDirective)
Miscellaneous(MiscellaneousDirective)
APlusrSTTools(AplusDirective)

Trait Implementations

impl Debug for DirectiveNode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.