Docs.rs
const-source-position-0.1.0
const-source-position 0.1.0
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
TigerGold59
Dependencies
quote ^1.0
normal
syn ^1.0.92
normal
Versions
50%
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
const_
source_
position
0.1.0
All Items
Crate Items
Macros
Crate
const_source_position
Copy item path
Source
Macros
ยง
source_
line
Takes a type path as an argument and provides the source code path as a type parameter to the last element of the path. This has a very specific use case involving serde and large numbers of structs. Example: