We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c60f72 commit 73ce5b5Copy full SHA for 73ce5b5
iceberg-rust-spec/src/spec/types.rs
@@ -292,6 +292,7 @@ impl StructType {
292
/// # Returns
293
/// * `Some(&StructField)` if a field exists at that index
294
/// * `None` if no field exists at that index
295
+ #[inline]
296
pub fn get(&self, index: usize) -> Option<&StructField> {
297
self.lookup
298
.get(&(index as i32))
0 commit comments