pub trait IntoScalar {
// Required method
fn into_scalar(self, dtype: DataType) -> Result<Scalar, PolarsError>;
}Required Methods§
fn into_scalar(self, dtype: DataType) -> Result<Scalar, PolarsError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".