trimmer_derive

Crates.iotrimmer_derive
lib.rstrimmer_derive
version0.1.0
sourcesrc
created_at2017-12-18 21:21:31.166184
updated_at2017-12-18 21:21:31.166184
description A derive macro that allows to expose rust structures to trimmer template.
homepagehttps://github.com/tailhook/trimmer-derive
repository
max_upload_size
id43593
size23,776
Paul Colomiets (tailhook)

documentation

https://docs.rs/trimmer_derive

README

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.

Commit count: 0

cargo fmt