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

Method as_byte_view_opt

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

Source from the content-addressed store, hash-verified

1011 }
1012
1013 fn as_byte_view_opt<T: ByteViewType>(&self) -> Option<&GenericByteViewArray<T>> {
1014 self.as_any().downcast_ref()
1015 }
1016
1017 fn as_struct_opt(&self) -> Option<&StructArray> {
1018 self.as_any().downcast_ref()

Callers 5

as_string_view_optMethod · 0.80
as_string_viewMethod · 0.80
as_binary_view_optMethod · 0.80
as_binary_viewMethod · 0.80
as_byte_viewMethod · 0.80

Calls 2

as_anyMethod · 0.45
as_refMethod · 0.45

Tested by

no test coverage detected