mir.format

Members

Aliases

dstringBuf
alias dstringBuf = _stringBuf!dchar
stringBuf
alias stringBuf = _stringBuf!char
wstringBuf
alias wstringBuf = _stringBuf!wchar

Enums

SwitchLU
enum SwitchLU

Functions

print
W print(scope return ref W w, scope auto ref const Args args)

Multiargument overload.

print
W print(scope return ref W w, const T c)
W print(scope return ref W w, bool c)
W print(scope return ref W w, scope const V[K] c)
W print(scope return ref W w, scope const(T)[] c)
W print(scope return ref W w, char c)
W print(scope return ref W w, scope const(C)[] c)
W print(scope return ref W w, const I c)
W print(scope return ref W w, const T c)
W print(scope return ref W w, scope ref const T c)
W print(scope return ref W w, scope const T c)
W print(scope return ref W w, scope const T c)
printBoolean
size_t printBoolean(bool c, ref C[5] buf)
printElement
W printElement(scope return ref W w, scope auto ref const T c)
printEscaped
W printEscaped(scope return ref W w, scope const(char)[] str)

Note: Non-ASCII Unicode characters are encoded as sequence of \xXX bytes. This may be fixed in the future.

printStaticString
size_t printStaticString(scope ref C[str.length] buf)
size_t printStaticString(scope ref C[str.length] buf)
size_t printStaticString(scope ref dchar[str.length] buf)
printZeroPad
W printZeroPad(scope return ref W w, const I c, size_t minimalLength)
withFormat
FormattedFloating!T withFormat(const T value, FormatSpec spec)

Manifest constants

getData
enum getData;

Mixin templates

StreamFormatOp
mixin template StreamFormatOp(C)

Structs

FormatSpec
struct FormatSpec

C's compatible format specifier.

FormattedFloating
struct FormattedFloating(T)
GetData
struct GetData
HexAddress
struct HexAddress(T)
_stringBuf
struct _stringBuf(C)

Meta