pub trait ScalarOrArray<'a> {
type Array: AsRef<Array> + 'a;
// Required method
fn into_owned_or_ref_array(self) -> Self::Array;
}Expand description
A trait for a scalar or an array.
Required Associated Types§
Required Methods§
Sourcefn into_owned_or_ref_array(self) -> Self::Array
fn into_owned_or_ref_array(self) -> Self::Array
Convert to an owned or reference array.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".