psychic-ui 0.0.0
Loading...
Searching...
No Matches
psychic_ui::Constraint Struct Reference

#include <Measure.hpp>

Public Member Functions

constexpr float apply (float content) const

Public Attributes

float size {0.0f}
Fit fit {Fit::Unbounded}

Detailed Description

What the layout offers a measured div in one dimension

Member Function Documentation

◆ apply()

float psychic_ui::Constraint::apply ( float content) const
inlinenodiscardconstexpr

The size to report for content that needs content


The documentation for this struct was generated from the following file: