Lyricdev
GitHub

interface Format

pub interface Format

A type with formats of its own: {x:spec} hands it the spec as written.

The scalars conform with the format language, which the compiler checks where a spec is written. The spec is a view, and a string stands for one.

Methods

fn format(spec: StringView, out: StringBuilder): void