Docs.rs
abcgen-attributes-0.4.0
abcgen-attributes 0.4.0
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
frabul
Dependencies
ab-code-gen ^0.4.0
normal
convert_case ^0.6.0
normal
proc-macro2 ^1.0.87
normal
quote ^1.0.37
normal
syn ^2.0.82
normal
syn ^2.0.79
dev
Versions
80%
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
abcgen_
attributes
0.4.0
All Items
Crate Items
Attribute Macros
Crate
abcgen_attributes
Copy item path
Source
Attribute Macros
ยง
actor
This attribute is used to mark the struct or enum that is going to be the actor.
actor_
module
The
actor_module
attribute is used to mark a module that contains the actor definition. It will generate the necessary code to implement the actor pattern, that is:
events
This attribute is used to mark the enum that defines the events that the actor can signal. It can be applied to
message_
handler
This attribute is used to mark the methods that are going to handle the messages that the actor can receive.