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

Method preallocate_node_capacity

css-inline/src/lib.rs:420–423  ·  view source on GitHub ↗
(mut self, preallocate_node_capacity: usize)

Source from the content-addressed store, hash-verified

418 /// Set the initial node capacity for HTML tree.
419 #[must_use]
420 pub fn preallocate_node_capacity(mut self, preallocate_node_capacity: usize) -> Self {
421 self.preallocate_node_capacity = preallocate_node_capacity;
422 self
423 }
424
425 /// Set the way to resolve stylesheets from various sources.
426 #[must_use]

Callers 2

customize_inlinerFunction · 0.80
build_inlinerFunction · 0.80

Calls

no outgoing calls

Tested by 1

customize_inlinerFunction · 0.64