Cringe.Layout.Constraint (cringe v0.4.0)

Copy Markdown View Source

Layout constraints derived from render options.

Summary

Types

dimension()

@type dimension() :: pos_integer() | nil

t()

@type t() :: %Cringe.Layout.Constraint{height: dimension(), width: dimension()}

Functions

new(opts)

@spec new(keyword()) :: t()