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

pub enum HTMLSpecificDirective {
    Meta,
    ImageMap,
}

An enumeration of different HTML-specific directive types.

Variants

Meta

The “meta” directive is used to specify HTML metadata stored in HTML META tags. “Metadata” is data about data, in this case data about web pages. Metadata is used to describe and classify web pages in the World Wide Web, in a form that is easy for search engines to extract and collate.

Within the directive block, a flat field list provides the syntax for metadata. The field name becomes the contents of the “name” attribute of the META tag, and the field body (interpreted as a single string without inline markup) becomes the contents of the “content” attribute.

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

ImageMap

Not implemented in docutils.

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

Trait Implementations

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