std.format.internal.write
Types 5
none
hasSomeToString
inCharSink
inCharSinkFormatString
inCharSinkFormatSpec
constCharSink
constCharSinkFormatString
constCharSinkFormatSpec
customPutWriter
customPutWriterFormatSpec
enumPrecisionType
none
integer
fractionalDigits
allDigits
enumRoundingClass
ZERO
LOWER
FIVE
UPPER
enumRoundingMode
up
down
toZero
toNearestTiesToEven
toNearestTiesAwayFromZero
Functions 35
fn
void formatValueImpl(Writer, T, Char)(auto ref Writer w, const(T) obj, scope const ref FormatSpec!Char f) if (is(BooleanTypeOf!T) && !is(T == enum) && !hasToString!(T, Char))fn
void formatValueImpl(Writer, T, Char)(auto ref Writer w, const(T) obj, scope const ref FormatSpec!Char f) if (is(immutable T == immutable typeof(null)) && !is(T == enum) && !hasToString!(T, Char))fn
void formatValueImpl(Writer, T, Char)(auto ref Writer w, const(T) obj, scope const ref FormatSpec!Char f) if (is(IntegralTypeOf!T) && !is(T == enum) && !hasToString!(T, Char))private fn
void formatValueImplUlong(Writer, Char)(auto ref Writer w, ulong arg, in bool negative,
scope const ref FormatSpec!Char f)fn
void formatValueImpl(Writer, T, Char)(auto ref Writer w, const(T) obj,
scope const ref FormatSpec!Char f) if (is(FloatingPointTypeOf!T) && !is(T == enum) && !hasToString!(T, Char))fn
void formatValueImpl(Writer, T, Char)(auto ref Writer w, const(T) obj, scope const ref FormatSpec!Char f) if (is(immutable T : immutable creal) && !is(T == enum) && !hasToString!(T, Char))deprecated Use of complex types is deprecated. Use std.complex
fn
void formatValueImpl(Writer, T, Char)(auto ref Writer w, const(T) obj, scope const ref FormatSpec!Char f) if (is(immutable T : immutable ireal) && !is(T == enum) && !hasToString!(T, Char))deprecated Use of imaginary types is deprecated. Use std.complex
fn
void formatValueImpl(Writer, T, Char)(auto ref Writer w, const(T) obj, scope const ref FormatSpec!Char f) if (is(CharTypeOf!T) && !is(T == enum) && !hasToString!(T, Char))fn
void formatValueImpl(Writer, T, Char)(auto ref Writer w, scope const(T) obj,
scope const ref FormatSpec!Char f) if (is(StringTypeOf!T) && !is(StaticArrayTypeOf!T) && !is(T == enum) && !hasToString!(T, Char))fn
void formatValueImpl(Writer, T, Char)(auto ref Writer w, auto ref T obj,
scope const ref FormatSpec!Char f) if (is(StaticArrayTypeOf!T) && !is(T == enum) && !hasToString!(T, Char))fn
void formatValueImpl(Writer, T, Char)(auto ref Writer w, T obj, scope const ref FormatSpec!Char f) if (is(DynamicArrayTypeOf!T) && !is(StringTypeOf!T) && !is(T == enum) && !hasToString!(T, Char))private fn
void formatRange(Writer, T, Char)(ref Writer w, ref T val, scope const ref FormatSpec!Char f) if (isInputRange!T)fn
void formatChar(Writer)(ref Writer w, in dchar c, in char quote)fn
void formatValueImpl(Writer, T, Char)(auto ref Writer w, T obj, scope const ref FormatSpec!Char f) if (is(AssocArrayTypeOf!T) && !is(T == enum) && !hasToString!(T, Char))private fn
void formatObject(Writer, T, Char)(ref Writer w, ref T val, scope const ref FormatSpec!Char f) if (hasToString!(T, Char))fn
void formatValueImpl(Writer, T, Char)(auto ref Writer w, T val, scope const ref FormatSpec!Char f) if (is(T == class) && !is(T == enum))fn
void formatValueImpl(Writer, T, Char)(auto ref Writer w, T val, scope const ref FormatSpec!Char f) if (is(T == interface) && (hasToString!(T, Char) || !is(BuiltinTypeOf!T)) && !is(T == enum))fn
void formatValueImpl(Writer, T, Char)(auto ref Writer w, auto ref T val,
scope const ref FormatSpec!Char f) if ((is(T == struct) || is(T == union)) && (hasToString!(T, Char) || !is(BuiltinTypeOf!T))
&& !is(T == enum))fn
void enforceValidFormatSpec(T, Char)(scope const ref FormatSpec!Char f)fn
void formatValueImpl(Writer, T, Char)(auto ref Writer w, T val, scope const ref FormatSpec!Char f) if (is(T == enum))fn
void formatValueImpl(Writer, T, Char)(auto ref Writer w, scope const(T) val, scope const ref FormatSpec!Char f) if (isPointer!T && !is(T == enum) && !hasToString!(T, Char))fn
void formatValueImpl(Writer, V, Char)(auto ref Writer w, const(V) val, scope const ref FormatSpec!Char f) if (isSIMDVector!V)fn
void formatValueImpl(Writer, T, Char)(auto ref Writer w, scope const(T), scope const ref FormatSpec!Char f) if (isDelegate!T)fn
void formatElement(Writer, T, Char)(auto ref Writer w, T val, scope const ref FormatSpec!Char f) if (is(StringTypeOf!T) && !hasToString!(T, Char) && !is(T == enum))fn
void formatElement(Writer, T, Char)(auto ref Writer w, T val, scope const ref FormatSpec!Char f) if (is(CharTypeOf!T) && !is(T == enum))fn
void formatElement(Writer, T, Char)(auto ref Writer w, auto ref T val, scope const ref FormatSpec!Char f) if ((!is(StringTypeOf!T) || hasToString!(T, Char)) && !is(CharTypeOf!T) || is(T == enum))fn
int getNthInt(string kind, A...)(uint index, A args)fn
void writeAligned(Writer, T, Char)(auto ref Writer w, T s, scope const ref FormatSpec!Char f) if (isSomeString!T)fn
void writeAligned(Writer, T1, T2, T3, Char)(auto ref Writer w,
T1 prefix, T2 grouped, T3 suffix, scope const ref FormatSpec!Char f,
bool integer_precision = false) if (isSomeString!T1 && isSomeString!T2 && isSomeString!T3)fn
void writeAligned(Writer, T1, T2, T3, T4, Char)(auto ref Writer w,
T1 prefix, T2 grouped, T3 fracts, T4 suffix, scope const ref FormatSpec!Char f,
PrecisionType p = PrecisionType.none) if (isSomeString!T1 && isSomeString!T2 && isSomeString!T3 && isSomeString!T4)fn
bool round(T)(ref T sequence, size_t left, size_t right, RoundingClass type, bool negative, char max = '9')Variables 1
private var
bool hasPreviewInTemplates 1
tmplhasToString(T, Char)