Registry / utility / viewit

viewit

JSON →
library0.1.5rscratesunverified

Attribute and derive macros for generating accessor methods on struct fields.

# Cargo.toml [dependencies] viewit = "0.1.5"
INSTALL
IMPORT
SIG · VIEWIT
V
viewit
utilityrustv0.1.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Viewit
use viewit::Viewit;

Derives accessor methods for struct fields.

use viewit::Viewit; #[derive(Viewit)] struct Point { x: i32, y: i32, } fn main() { let p = Point { x: 10, y: 20 }; println!("x: {}", p.x()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.5latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
viewit — cargo add viewit · libregistry