Registry / utility / rvstruct

rvstruct

JSON →
library0.3.2rscratesunverified

A helper macros implementation for Value Classes in Rust.

# Cargo.toml [dependencies] rvstruct = "0.3.2"
INSTALL
IMPORT
SIG · RVSTRUCT
R
rvstruct
utilityrustv0.3.2
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.

ValueStruct
use rvstruct::ValueStruct;

Define a value class using the ValueStruct derive macro.

use rvstruct::ValueStruct; #[derive(ValueStruct)] struct MyValue(i32); fn main() { let v = MyValue::new(42); println!("{}", v.into_inner()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
rvstruct — cargo add rvstruct · libregistry