class 0.0.1

Annotations for a good form of OOP in Rust
Documentation
  • Coverage
  • 0%
    0 out of 3 items documented0 out of 2 items with examples
  • Size
  • Source code size: 14.54 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 239.09 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 7s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • brody4hire

rust class

Annotations for a good form of OOP in Rust

Issues: https://github.com/brody4hire/rust-class/issues

License

either of:

  • Apache 2.0
  • MIT

Sample code

use class;

#[class::interface]
trait T {
    fn f1();
}

#[class::implements(T)]
struct I;

impl T for I {
    fn f1() { todo!() }
}