Document.opAssign

Document opAssign(Document rhs) ref return

Copies share the same document (freed by the GC when nothing uses it anymore)

Document opAssign(const(char)[] html) ref return

Parse html into a new document: doc = "<html>...";

Document opAssign(typeof(null)) ref return

doc = null releases the document: doc becomes invalid