Struct eyeliner::OptionsRequired
[−]
[src]
pub struct OptionsRequired<'a> { pub apply_table_element_attributes: bool, pub apply_height_attributes: bool, pub apply_style_tags: bool, pub apply_width_attributes: bool, pub insert_preserved_css: Vec<&'a str>, pub preserve_font_faces: bool, pub preserve_important: bool, pub preserve_media_queries: bool, pub remove_style_tags: bool, }
The required options to inline HTML and CSS. Use the other Options
, it is has nice defaults.
Fields
apply_table_element_attributes: bool
apply_height_attributes: bool
apply_width_attributes: bool
insert_preserved_css: Vec<&'a str>
preserve_font_faces: bool
preserve_important: bool
preserve_media_queries: bool
Methods
impl<'a> Options<'a>
[src]
pub fn new(opt: Options<'a>) -> Self
[src]
Takes the other Options
and uses any fields set on it or defaults to another value.
Trait Implementations
impl<'a> Clone for Options<'a>
[src]
fn clone(&self) -> Options<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for Options<'a>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more