ori::prelude

Function max_size

Source
pub fn max_size<V>(max_size: impl Into<Size>, view: V) -> Constrain<V>
Expand description

Create a new Constrained view, constraining its content to a maximum size.