MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / len

Method len

crates/core/src/alloc/vec.rs:139–141  ·  view source on GitHub ↗

Same as [`std::vec::Vec::len`].

(&self)

Source from the content-addressed store, hash-verified

137
138 /// Same as [`std::vec::Vec::len`].
139 pub fn len(&self) -> usize {
140 self.inner.len()
141 }
142
143 /// Same as [`std::vec::Vec::capacity`].
144 pub fn capacity(&self) -> usize {

Callers 15

try_cloneMethod · 0.45
reserveMethod · 0.45
reserve_exactMethod · 0.45
resizeMethod · 0.45
resize_withMethod · 0.45
into_raw_partsMethod · 0.45
shrink_to_fitMethod · 0.45
serializeMethod · 0.45
try_to_ownedMethod · 0.45
visit_strMethod · 0.45
reserveMethod · 0.45
reserve_exactMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected