namespace 0.1.0

A namespace abstraction.
Documentation
  • Coverage
  • 52.17%
    12 out of 23 items documented7 out of 14 items with examples
  • Size
  • Source code size: 19.24 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.8 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ericfindlay

A namespace looks like abc::def::ghi.

Namespaces are more subtle than one would naively assume. For namespaces to be genuinely extensible, they cannot know anything beyond their scope. This means that they don't have an absolute index. They can be positioned relative to another namespace only by a 'sliding' match. This matching can potentially be ambiguous, so if multiple matches occur an error is returned. Namespaces can never be empty.