Skip to main content

FileFormat

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".

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