Crate typeset

Source

Enums§

Doc
Layout

Functions§

comp
Constructs a new Comp layout.
compile
A function for compiling layouts into documents optimized for rendering, takes a Box<Layout> and gives a Box<Doc>.
fix
Constructs a new Fix layout.
grp
Constructs a new Grp layout.
line
Constructs a new Line layout.
nest
Constructs a new Nest layout.
null
Constructs a new Null layout.
pack
Constructs a new Pack layout.
render
A function for rendering documents, takes a Box<Doc>, a tab indentation size and a output buffer target width, and gives a String.
seq
Constructs a new Seq layout.
text
Constructs a new Text layout.