(
&self,
writer: &mut W,
styles: DocumentStyleMap<'_>,
keep_style_tags: bool,
keep_link_tags: bool,
minify_css: bool,
at_rules: Option<&String>,
| 391 | /// Serialize the document to HTML string. |
| 392 | #[allow(clippy::too_many_arguments, clippy::fn_params_excessive_bools)] |
| 393 | pub(crate) fn serialize<W: Write>( |
| 394 | &self, |
| 395 | writer: &mut W, |
| 396 | styles: DocumentStyleMap<'_>, |
| 397 | keep_style_tags: bool, |
| 398 | keep_link_tags: bool, |
| 399 | minify_css: bool, |
| 400 | at_rules: Option<&String>, |
| 401 | mode: InliningMode, |
| 402 | apply_width_attributes: bool, |
| 403 | apply_height_attributes: bool, |
| 404 | ) -> Result<(), InlineError> { |
| 405 | serialize_to( |
| 406 | self, |
| 407 | writer, |
| 408 | styles, |
| 409 | keep_style_tags, |
| 410 | keep_link_tags, |
| 411 | minify_css, |
| 412 | at_rules, |
| 413 | mode, |
| 414 | apply_width_attributes, |
| 415 | apply_height_attributes, |
| 416 | ) |
| 417 | } |
| 418 | |
| 419 | /// Filter this node iterator to elements matching the given selectors. |
| 420 | pub(crate) fn select<'a, 'b, 'c>( |
no test coverage detected