MCPcopy Create free account
hub / github.com/Stranger6667/css-inline / inline_to

Function inline_to

css-inline/src/lib.rs:946–948  ·  view source on GitHub ↗
(html: &str, target: &mut W)

Source from the content-addressed store, hash-verified

944/// using the same inliner panicked while resolving external stylesheets.
945#[inline]
946pub fn inline_to<W: Write>(html: &str, target: &mut W) -> Result<()> {
947 CSSInliner::default().inline_to(html, target)
948}
949
950/// Shortcut for inlining CSS into an HTML fragment with default parameters.
951///

Callers 2

inliningFunction · 0.50
mainFunction · 0.50

Calls 1

inline_toMethod · 0.80

Tested by

no test coverage detected