Struct inline_assets::Config[][src]

pub struct Config {
    pub inline_fonts: bool,
    pub remove_new_lines: bool,
}

Config struct that is passed to inline_file() and inline_html_string()

Default enables everything

Fields

Whether or not to inline fonts in the css as base64.

Replace \r and \r\n with a space character. Useful to keep line numbers the same in the output to help with debugging.

Trait Implementations

impl Debug for Config
[src]

Formats the value using the given formatter. Read more

impl Copy for Config
[src]

impl Clone for Config
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Config
[src]

Enables everything

Auto Trait Implementations

impl Send for Config

impl Sync for Config