Trait taffy::node::Measurable

source ·
pub trait Measurable: Send + Sync + Fn(Size<Option<f32>>, Size<AvailableSpace>) -> Size<f32> { }
Expand description

A function type that can be used in a MeasureFunc

This trait is automatically implemented for all types (including closures) that define a function with the appropriate type signature.

Implementors§