Write trait requirements in documentation.
Merge pull request #6158 from Phrohdoh/DocPrintRequires

Write trait requirements in documentation.