MCPcopy Index your code
hub / github.com/endbasic/endbasic / len

Method len

std/src/console/linebuffer.rs:42–44  ·  view source on GitHub ↗

Returns the logical `LineBuffer` length (in UTF-8 code point count and not in bytes).

(&self)

Source from the content-addressed store, hash-verified

40
41 /// Returns the logical `LineBuffer` length (in UTF-8 code point count and not in bytes).
42 pub fn len(&self) -> usize {
43 self.line.chars().count()
44 }
45
46 /// Gets and iterator over buffer chars.
47 pub fn chars(&self) -> Chars<'_> {

Callers 15

lcd_writeFunction · 0.45
writeMethod · 0.45
verifyMethod · 0.45
async_execMethod · 0.45
parse_bound_argsFunction · 0.45
describeMethod · 0.45
parse_lang_referenceFunction · 0.45
take_captured_outMethod · 0.45
draw_polyMethod · 0.45
draw_poly_filledMethod · 0.45
expect_array_simpleMethod · 0.45
check_array_dimsMethod · 0.45

Calls 1

charsMethod · 0.80