Skip to main content

BoxConstraintsTransform

Type Alias BoxConstraintsTransform 

Source
pub type BoxConstraintsTransform = fn(BoxConstraints) -> BoxConstraints;
Expand description

Signature for a function that transforms a BoxConstraints to another BoxConstraints.

Used by RenderConstraintsTransformBox. Typically the caller requires the returned BoxConstraints to be Constraints::is_normalized.