MCPcopy Create free account
hub / github.com/QMHTMY/RustBook / len

Method len

code/chapter03/lvec.rs:42–44  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

40 }
41
42 fn len(&self) -> usize {
43 self.size
44 }
45
46 fn is_empty(&self) -> bool {
47 0 == self.size

Callers 11

par_checker3Function · 0.45
postfix_evalFunction · 0.45
par_checker3Function · 0.45
par_checker2Function · 0.45
par_checker1Function · 0.45
sizeMethod · 0.45
hot_potatoFunction · 0.45
sizeMethod · 0.45
sizeMethod · 0.45
palindrome_checkerFunction · 0.45
sizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected