Registry / utility / cervine

cervine

JSON →
library0.0.6rscratesunverified

A slightly more flexible Cow; roughly to T: Borrow<R> as alloc::borrow::Cow is to B: ToOwned

# Cargo.toml [dependencies] cervine = "0.0.6"
INSTALL
IMPORT
SIG · CERVINE
C
cervine
utilityrustv0.0.6
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.

Cervine
use cervine::Cervine;

Use Cervine to hold either a borrowed or owned value with flexible borrowing.

use cervine::Cervine; let borrowed: Cervine<str, String> = Cervine::Borrowed("hello"); let owned: Cervine<str, String> = Cervine::Owned("world".to_string());
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.6latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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