pub fn document() -> Rc<dyn Document>
Get the document provider for the current platform or a no-op provider if the platform doesn’t document functionality.