MCPcopy Create free account
hub / github.com/PerroEngine/Perro / set_by_header

Method set_by_header

perro_source/core/perro_csv/src/lib.rs:362–372  ·  view source on GitHub ↗
(
        &mut self,
        row: usize,
        header: &str,
        value: impl Into<String>,
    )

Source from the content-addressed store, hash-verified

360 pub fn row_count(&self) -> usize {
361 self.rows.len()
362 }
363
364 #[inline]
365 pub fn col_count(&self) -> usize {
366 self.headers.len()
367 }
368
369 #[inline]
370 pub fn headers(&self) -> &[String] {
371 &self.headers
372 }
373
374 #[inline]
375 pub fn rows(&self) -> &[Vec<String>] {

Callers 2

csv_promotes_to_bufFunction · 0.80

Calls 2

header_indexMethod · 0.80
setMethod · 0.45

Tested by 2

csv_promotes_to_bufFunction · 0.64