rustdoc::html::render::sorted_template

Trait FileFormat

Source
pub(crate) trait FileFormat {
    const COMMENT_START: &'static str;
    const COMMENT_END: &'static str;
    const SEPARATOR: &'static str;
}

Required Associated Constants§

Source

const COMMENT_START: &'static str

Source

const COMMENT_END: &'static str

Source

const SEPARATOR: &'static str

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl FileFormat for Html

Source§

const COMMENT_START: &'static str = "<!--"

Source§

const COMMENT_END: &'static str = "-->"

Source§

const SEPARATOR: &'static str = ""

Source§

impl FileFormat for Js

Source§

const COMMENT_START: &'static str = "//"

Source§

const COMMENT_END: &'static str = ""

Source§

const SEPARATOR: &'static str = ","