Docs.rs
ctor-0.1.3
ctor 0.1.3
Docs.rs crate page
Apache-2.0 OR MIT
Links
Repository
Crates.io
Source
Owners
mmastrac
Dependencies
quote ^0.6.10
normal
syn ^0.15.22
normal
Versions
100%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Crate ctor
Version 0.1.3
All Items
Attribute Macros
?
Crate
ctor
source
·
[
−
]
Expand description
Procedural macro for defining module startup functions.
Attribute Macros
ctor
Marks a function as a library/executable constructor. This uses OS-specific linker sections to call a specific function at load time.
dtor
Marks a function as a library/executable destructor. This uses OS-specific linker sections to call a specific function at termination time.