FloatParser

Trait FloatParser 

Source
pub trait FloatParser: Sized + Sealed {
    // Required method
    fn parse(str: &str) -> Result<Self, ParseFloatError>;
}
Expand description

Parse literals into Somni floats.

Required Methods§

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.

Implementations on Foreign Types§

Source§

impl FloatParser for f32

Source§

impl FloatParser for f64

Implementors§