Registry / utility / derefable

derefable

JSON →
library0.1.0rscratesunverified

Automatically derive Deref and DerefMut implementations for structs.

# Cargo.toml [dependencies] derefable = "0.1.0"
INSTALL
IMPORT
SIG · DEREFABLE
D
derefable
utilityrustv0.1.0
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.

Derefable
use derefable::Derefable;

Derives Deref and DerefMut for a struct.

use derefable::Derefable; #[derive(Derefable)] struct MyWrapper { inner: String, } fn main() { let w = MyWrapper { inner: "hello".to_string() }; println!("Length: {}", w.len()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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