Document.toString
string toString() constReturn document as html string
void toString(scope void delegate(const(char)[]) sink) constWrite the document as html to a sink
void toString(W)(ref W writer) if (isOutputRange!(W, const(char)[]) && !is(W : void delegate(const(char)[]))) constditto