Trait lexical::FromLexicalLossy [−][src]
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
[src]
Deserialize from byte slice.
fn try_from_lexical_lossy(bytes: &[u8]) -> Result<Self, Error>
[src]
Error-checking deserialize from byte slice.