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

pub enum ReferenceDirective {
    TargetFootnote {
        class: Option<String>,
        name: Option<String>,
    },
    Footnote,
    Citation,
}

An enumeration of different reference directive types.

Variants

TargetFootnote

TargetFootnote

The “target-notes” directive creates a footnote for each external target in the text, and corresponding footnote references after each reference. For every explicit target (of the form, .. _target name: URL) in the text, a footnote will be generated containing the visible URL as content.

Details: https://docutils.sourceforge.io/docs/ref/rst/directives.html#target-footnotes

Fields of TargetFootnote

class: Option<String>name: Option<String>
Footnote

Footnote

Not implemented in docutils!

Details: https://docutils.sourceforge.io/docs/ref/rst/directives.html#footnotes

Citation

Citation

Not implemented in docutils!

Details: https://docutils.sourceforge.io/docs/ref/rst/directives.html#citations

Trait Implementations

impl Debug for ReferenceDirective[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.