1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
use super::capi::MpfrStruct; /// MPFR parsing error enum. #[derive(Debug, PartialEq)] pub enum ParseMpfrError { /// Represents a `CString` conversion error. CStringError, /// Represents an MPFR parsing error. MpfrParseError, } /// MPFR struct. #[derive(Debug)] pub struct Mpfr { /// Low-level MPFR data. pub mpfr: MpfrStruct, }