Cringe.Layout.Size (cringe v0.2.0)

Copy Markdown View Source

Two-dimensional layout size.

Summary

Types

t()

@type t() :: %Cringe.Layout.Size{height: non_neg_integer(), width: non_neg_integer()}

Functions

new(width, height)

@spec new(non_neg_integer(), non_neg_integer()) :: t()