Skip to main content

plan

Function plan 

Source
pub fn plan(content: Content, size: ByteLen, budget: ByteLen) -> Shrink
Expand description

What happens to that kind of content, at that size.

The size comparison lives here rather than at the call site, so that “does it fit” and “what is done when it does not” are one decision with one home.