MCPcopy Create free account
hub / github.com/apache/arrow-rs / write

Method write

arrow-cast/src/pretty.rs:1294–1301  ·  view source on GitHub ↗
(&self, idx: usize, f: &mut dyn Write)

Source from the content-addressed store, hash-verified

1292
1293 impl<'a> DisplayIndex for MyMoneyFormatter<'a> {
1294 fn write(&self, idx: usize, f: &mut dyn Write) -> crate::display::FormatResult {
1295 match self.array.is_valid(idx) {
1296 true => write!(f, "{} €", self.array.value(idx))?,
1297 false => write!(f, "{}", self.options.null())?,
1298 }
1299
1300 Ok(())
1301 }
1302 }
1303
1304 /// The actual formatter

Callers

nothing calls this directly

Calls 1

is_validMethod · 0.45

Tested by

no test coverage detected