Skip to main content

ReadNumeric

Trait ReadNumeric 

Source
pub trait ReadNumeric: Sealed { }
Expand description

Marker trait for the Rust types H5Dataset::read_numeric_as can convert into: the integer primitives (checked, never wrapping) plus f32/f64 (widening only).

Sealed — the conversion policy is part of the library contract, so the trait cannot be implemented outside this crate.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: Sealed> ReadNumeric for T