pub struct Config {
pub inline_fonts: bool,
pub remove_new_lines: bool,
pub inline_remote: bool,
}Expand description
Config struct that is passed to inline_file() and inline_html_string()
Default enables everything
Fields§
§inline_fonts: boolWhether or not to inline fonts in the css as base64.
remove_new_lines: boolReplace EOL’s with a space character. Useful to keep line numbers the same in the output to help with debugging.
inline_remote: boolWhether to inline remote content or not.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more