trimmer_derive 0.1.0

A derive macro that allows to expose rust structures to trimmer template.
Documentation
  • Coverage
  • 100%
    2 out of 2 items documented1 out of 2 items with examples
  • Size
  • Source code size: 27.98 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 277.52 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 3s Average build duration of successful builds.
  • all releases: 3s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • tailhook

Trimmer Derive

Trimmer | Docs | Github | Crate

This crate allows to derive trimmer::Variable trait.

Examples:

// Derives `.x` and `.y` attributes
#[derive(Variable)]
struct Point {
    x: u32,
    y: u32,
}

// Forwards all methods to the internal type
#[derive(Variable)]
struct NewType(SomeVarType);

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.