Trait cushy::FitMeasuredSize
source · pub trait FitMeasuredSize {
// Required method
fn fit_measured<Unit>(self, measured: Size<Unit>) -> Size<UPx>
where Unit: IntoUnsigned<Unsigned = UPx>;
}
Expand description
An extension trait for Size<ConstraintLimit>
.
Required Methods§
sourcefn fit_measured<Unit>(self, measured: Size<Unit>) -> Size<UPx>where
Unit: IntoUnsigned<Unsigned = UPx>,
fn fit_measured<Unit>(self, measured: Size<Unit>) -> Size<UPx>where
Unit: IntoUnsigned<Unsigned = UPx>,
Returns the result of calling ConstraintLimit::fit_measured
for each
matching component in self
and measured
.
Object Safety§
This trait is not object safe.