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

Method as_struct_opt

arrow-array/src/cast.rs:1017–1019  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1015 }
1016
1017 fn as_struct_opt(&self) -> Option<&StructArray> {
1018 self.as_any().downcast_ref()
1019 }
1020
1021 fn as_union_opt(&self) -> Option<&UnionArray> {
1022 self.as_any().downcast_ref()

Callers 7

try_newMethod · 0.80
try_newMethod · 0.80
next_innerMethod · 0.80
as_structMethod · 0.80

Calls 2

as_anyMethod · 0.45
as_refMethod · 0.45

Tested by

no test coverage detected