Registry / utility / len-trait

len-trait

JSON →
library0.6.1rscratesunverified

Len trait for collections.

# Cargo.toml [dependencies] len-trait = "0.6.1"
INSTALL
IMPORT
SIG · LEN-TRAIT
L
len-trait
utilityrustv0.6.1
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.

Len
use len_trait::Len;

Uses the Len trait to get the length of a collection.

use len_trait::Len; fn main() { let v = vec![1, 2, 3]; println!("{}", v.len()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.6.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Amazon
1
Resources
len-trait — cargo add len-trait · libregistry