pub trait Source<A>: Element {
// Required method
fn read(self) -> A;
// Provided method
fn borrowed(_items: &[Self]) -> Option<&[A]> { ... }
}Expand description
An item that reads as type A: a Boolean as a number, an integer as a wider integer, a float or a complex number, a float as a float of another width or a complex number, and a complex number as one of the other width.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".