pub trait ValT:
ValT
+ Ord
+ From<f64> {
// Required methods
fn into_seq<S: FromIterator<Self>>(self) -> Result<S, Self>;
fn as_isize(&self) -> Option<isize>;
fn as_f64(&self) -> Result<f64, Error<Self>>;
}
Expand description
Values that the core library can operate on.
Required Methods§
Sourcefn into_seq<S: FromIterator<Self>>(self) -> Result<S, Self>
fn into_seq<S: FromIterator<Self>>(self) -> Result<S, Self>
Convert an array into a sequence.
This returns the original value as Err
if it is not an array.
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.