pub trait Scalar:
Debug
+ Send
+ Sync
+ DynClone
+ 'static {
// Required methods
fn as_any(&self) -> &dyn Any;
fn is_valid(&self) -> bool;
fn dtype(&self) -> &ArrowDataType;
}
Expand description
Trait object declaring an optional value with a ArrowDataType
.
This strait is often used in APIs that accept multiple scalar types.
Required Methods§
Sourcefn dtype(&self) -> &ArrowDataType
fn dtype(&self) -> &ArrowDataType
the logical type.