Trait rustdoc::html::render::sorted_template::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

Object Safety§

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 = ","