Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
ScalarType in datafusion::common - Rust
[go: Go Back, main page]

Trait ScalarType

Source
pub trait ScalarType<T>
where T: ArrowNativeType,
{ // Required method fn scalar(r: Option<T>) -> ScalarValue; }
Expand description

Trait used to map a NativeType to a ScalarValue

Required Methods§

Source

fn scalar(r: Option<T>) -> ScalarValue

returns a scalar from an optional T

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§