[][src]Trait lexical::FromLexicalLossy

pub trait FromLexicalLossy: FromLexical {
    fn from_lexical_lossy(bytes: &[u8]) -> Self;
fn try_from_lexical_lossy(bytes: &[u8]) -> Result<Self, Error>; }

Trait for floating-point types that can be parsed using lossy algorithms from bytes.

Required methods

fn from_lexical_lossy(bytes: &[u8]) -> Self

Deserialize from byte slice.

fn try_from_lexical_lossy(bytes: &[u8]) -> Result<Self, Error>

Error-checking deserialize from byte slice.

Loading content...

Implementations on Foreign Types

impl FromLexicalLossy for f32[src]

impl FromLexicalLossy for f64[src]

Loading content...

Implementors

Loading content...