trait IntervalOp: ArrowPrimitiveType {
// Required methods
fn add(
left: Self::Native,
right: Self::Native,
) -> Result<Self::Native, ArrowError>;
fn sub(
left: Self::Native,
right: Self::Native,
) -> Result<Self::Native, ArrowError>;
}
Expand description
Arithmetic trait for interval arrays
Required Methods§
fn add( left: Self::Native, right: Self::Native, ) -> Result<Self::Native, ArrowError>
fn sub( left: Self::Native, right: Self::Native, ) -> Result<Self::Native, ArrowError>
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.