Docs.rs
shah-macros-1.7.0
shah-macros 1.7.0
Permalink
Docs.rs crate page
Links
Repository
crates.io
Source
Owners
i007c
Dependencies
proc-macro2 ^1.0.86
normal
quote ^1.0.36
normal
quote_into ^0.2.0
normal
syn ^2.0.72
normal
Versions
37.5%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Crate shah_macros
shah_
macros
1.7.0
All Items
Crate Items
Macros
Attribute Macros
Derive Macros
Crate
shah_
macros
Copy item path
Source
Macros
§
perms
routes
Attribute Macros
§
api
enum_
int
enum_ini is a two way conversion enum
<->
u16 default
start
is
0
and default
ty
is
u8
Example:
legacy
Example:
model
Derive Macros
§
Belt
Derive macro generating an impl of the trait
Belt
. You can use
#[belt(next)]
,
#[belt(past)]
and
#[belt(buckle)]
to set custom fields for these methods.
Buckle
Command
Example:
Duck
Entity
Derive macro generating an impl of the trait
Entity
.
Enum
Code
Example:
Origin
Pond
Shah
Schema