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

Method remove

arrow-schema/src/schema.rs:58–60  ·  view source on GitHub ↗

Removes and returns the [`FieldRef`] as index `idx` # Panics Panics if index out of bounds

(&mut self, idx: usize)

Source from the content-addressed store, hash-verified

56 ///
57 /// Panics if index out of bounds
58 pub fn remove(&mut self, idx: usize) -> FieldRef {
59 self.fields.remove(idx)
60 }
61
62 /// Returns an immutable reference to the [`FieldRef`] at index `idx`
63 ///

Callers 5

resolve_unionsMethod · 0.45
remove_columnMethod · 0.45
append_optionMethod · 0.45

Calls

no outgoing calls

Tested by 1