Module lexical_core::ffi [−][src]
Foreign-function interface declarations.
Re-imports FFI declarations nested in other modules for documentation purposes.
Structs
| Error | C-compatible error for FFI. |
| Result | C-compatible result type from parsing strings-to-numbers for FFI. |
| Tuple | C-compatible tuple for the partial parsers. |
Enums
| ErrorCode | Error code, indicating failure type. |
Statics
| BUFFER_SIZE | Symbol-generating constant for the maximum number of bytes that any number-to-string function may write. |
| EXPONENT_DEFAULT_CHAR | Default character for scientific notation, used when the radix < 15. |
| F32_PARTIAL_RESULT_SIZE | Number of bytes required to store F32PartialResult. |
| F32_RESULT_SIZE | Number of bytes required to store F32Result. |
| F32_TUPLE_SIZE | Number of bytes required to store F32Tuple. |
| F64_PARTIAL_RESULT_SIZE | Number of bytes required to store F64PartialResult. |
| F64_RESULT_SIZE | Number of bytes required to store F64Result. |
| F64_TUPLE_SIZE | Number of bytes required to store F64Tuple. |
| I8_PARTIAL_RESULT_SIZE | Number of bytes required to store I8PartialResult. |
| I8_RESULT_SIZE | Number of bytes required to store I8Result. |
| I8_TUPLE_SIZE | Number of bytes required to store I8Tuple. |
| I16_PARTIAL_RESULT_SIZE | Number of bytes required to store I16PartialResult. |
| I16_RESULT_SIZE | Number of bytes required to store I16Result. |
| I16_TUPLE_SIZE | Number of bytes required to store I16Tuple. |
| I32_PARTIAL_RESULT_SIZE | Number of bytes required to store I32PartialResult. |
| I32_RESULT_SIZE | Number of bytes required to store I32Result. |
| I32_TUPLE_SIZE | Number of bytes required to store I32Tuple. |
| I64_PARTIAL_RESULT_SIZE | Number of bytes required to store I64PartialResult. |
| I64_RESULT_SIZE | Number of bytes required to store I64Result. |
| I64_TUPLE_SIZE | Number of bytes required to store I64Tuple. |
| I128_RESULT_SIZE | Number of bytes required to store I128Result. |
| ISIZE_PARTIAL_RESULT_SIZE | Number of bytes required to store IsizePartialResult. |
| ISIZE_RESULT_SIZE | Number of bytes required to store IsizeResult. |
| ISIZE_TUPLE_SIZE | Number of bytes required to store IsizeTuple. |
| MAX_F32_SIZE | Symbol-generating constant for the minimum buffer required to serialize any |
| MAX_F32_SIZE_BASE10 | Symbol-generating constant for the minimum buffer required to serialize an |
| MAX_F64_SIZE | Symbol-generating constant for the minimum buffer required to serialize any |
| MAX_F64_SIZE_BASE10 | Symbol-generating constant for the minimum buffer required to serialize an |
| MAX_I8_SIZE | Symbol-generating constant for the minimum buffer required to serialize any |
| MAX_I8_SIZE_BASE10 | Symbol-generating constant for the minimum buffer required to serialize an |
| MAX_I16_SIZE | Symbol-generating constant for the minimum buffer required to serialize any |
| MAX_I16_SIZE_BASE10 | Symbol-generating constant for the minimum buffer required to serialize an |
| MAX_I32_SIZE | Symbol-generating constant for the minimum buffer required to serialize any |
| MAX_I32_SIZE_BASE10 | Symbol-generating constant for the minimum buffer required to serialize an |
| MAX_I64_SIZE | Symbol-generating constant for the minimum buffer required to serialize any |
| MAX_I64_SIZE_BASE10 | Symbol-generating constant for the minimum buffer required to serialize an |
| MAX_I128_SIZE | Symbol-generating constant for the minimum buffer required to serialize any |
| MAX_I128_SIZE_BASE10 | Symbol-generating constant for the minimum buffer required to serialize an |
| MAX_ISIZE_SIZE | Symbol-generating constant for the minimum buffer required to serialize any |
| MAX_ISIZE_SIZE_BASE10 | Symbol-generating constant for the minimum buffer required to serialize an |
| MAX_U8_SIZE | Symbol-generating constant for the minimum buffer required to serialize any |
| MAX_U8_SIZE_BASE10 | Symbol-generating constant for the minimum buffer required to serialize an |
| MAX_U16_SIZE | Symbol-generating constant for the minimum buffer required to serialize any |
| MAX_U16_SIZE_BASE10 | Symbol-generating constant for the minimum buffer required to serialize an |
| MAX_U32_SIZE | Symbol-generating constant for the minimum buffer required to serialize any |
| MAX_U32_SIZE_BASE10 | Symbol-generating constant for the minimum buffer required to serialize an |
| MAX_U64_SIZE | Symbol-generating constant for the minimum buffer required to serialize any |
| MAX_U64_SIZE_BASE10 | Symbol-generating constant for the minimum buffer required to serialize an |
| MAX_U128_SIZE | Symbol-generating constant for the minimum buffer required to serialize any |
| MAX_U128_SIZE_BASE10 | Symbol-generating constant for the minimum buffer required to serialize an |
| MAX_USIZE_SIZE | Symbol-generating constant for the minimum buffer required to serialize any |
| MAX_USIZE_SIZE_BASE10 | Symbol-generating constant for the minimum buffer required to serialize an |
| U8_PARTIAL_RESULT_SIZE | Number of bytes required to store U8PartialResult. |
| U8_RESULT_SIZE | Number of bytes required to store U8Result. |
| U8_TUPLE_SIZE | Number of bytes required to store U8Tuple. |
| U16_PARTIAL_RESULT_SIZE | Number of bytes required to store U16PartialResult. |
| U16_RESULT_SIZE | Number of bytes required to store U16Result. |
| U16_TUPLE_SIZE | Number of bytes required to store U16Tuple. |
| U32_PARTIAL_RESULT_SIZE | Number of bytes required to store U32PartialResult. |
| U32_RESULT_SIZE | Number of bytes required to store U32Result. |
| U32_TUPLE_SIZE | Number of bytes required to store U32Tuple. |
| U64_PARTIAL_RESULT_SIZE | Number of bytes required to store U64PartialResult. |
| U64_RESULT_SIZE | Number of bytes required to store U64Result. |
| U64_TUPLE_SIZE | Number of bytes required to store U64Tuple. |
| U128_RESULT_SIZE | Number of bytes required to store U128Result. |
| USIZE_PARTIAL_RESULT_SIZE | Number of bytes required to store UsizePartialResult. |
| USIZE_RESULT_SIZE | Number of bytes required to store UsizeResult. |
| USIZE_TUPLE_SIZE | Number of bytes required to store UsizeTuple. |
Functions
| atof32⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atof32_lossy⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atof32_partial⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atof32_partial_lossy⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atof64⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atof64_lossy⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atof64_partial⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atof64_partial_lossy⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atoi8⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atoi8_partial⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atoi16⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atoi16_partial⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atoi32⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atoi32_partial⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atoi64⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atoi64_partial⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atoi128⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atoi128_partial⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atoisize⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atoisize_partial⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atou8⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atou8_partial⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atou16⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atou16_partial⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atou32⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atou32_partial⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atou64⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atou64_partial⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atou128⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atou128_partial⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atousize⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| atousize_partial⚠ | Checked parser for a string-to-number conversion using Rust pointer ranges. |
| error_is_empty | Check if the error code designates an empty byte array was encountered. |
| error_is_empty_exponent | Check if the error code designates an empty exponent was encountered. |
| error_is_empty_fraction | Check if the error code designates an empty fraction was encountered. |
| error_is_invalid_digit | Check if the error code designates an invalid digit was encountered. |
| error_is_overflow | Check if the error code designates integer overflow. |
| error_is_underflow | Check if the error code designates integer underflow. |
| f32_partial_result_err | Get the error from the result. Panics if the result is successful. |
| f32_partial_result_is_err | Check if the result was an error. |
| f32_partial_result_is_ok | Check if the result was ok. |
| f32_partial_result_ok | Get the value from the result. Panics if the result is an error. |
| f32_result_err | Get the error from the result. Panics if the result is successful. |
| f32_result_is_err | Check if the result was an error. |
| f32_result_is_ok | Check if the result was ok. |
| f32_result_ok | Get the value from the result. Panics if the result is an error. |
| f32toa⚠ | Serializer for a number-to-string conversion using pointer ranges. |
| f64_partial_result_err | Get the error from the result. Panics if the result is successful. |
| f64_partial_result_is_err | Check if the result was an error. |
| f64_partial_result_is_ok | Check if the result was ok. |
| f64_partial_result_ok | Get the value from the result. Panics if the result is an error. |
| f64_result_err | Get the error from the result. Panics if the result is successful. |
| f64_result_is_err | Check if the result was an error. |
| f64_result_is_ok | Check if the result was ok. |
| f64_result_ok | Get the value from the result. Panics if the result is an error. |
| f64toa⚠ | Serializer for a number-to-string conversion using pointer ranges. |
| get_inf_string⚠ | Get the short representation of an Infinity literal as a pointer and size. |
| get_infinity_string⚠ | Get the long representation of an Infinity literal as a pointer and size. |
| get_nan_string⚠ | Get string representation of Not a Number as a pointer and size. |
| i8_partial_result_err | Get the error from the result. Panics if the result is successful. |
| i8_partial_result_is_err | Check if the result was an error. |
| i8_partial_result_is_ok | Check if the result was ok. |
| i8_partial_result_ok | Get the value from the result. Panics if the result is an error. |
| i8_result_err | Get the error from the result. Panics if the result is successful. |
| i8_result_is_err | Check if the result was an error. |
| i8_result_is_ok | Check if the result was ok. |
| i8_result_ok | Get the value from the result. Panics if the result is an error. |
| i8toa⚠ | Serializer for a number-to-string conversion using pointer ranges. |
| i16_partial_result_err | Get the error from the result. Panics if the result is successful. |
| i16_partial_result_is_err | Check if the result was an error. |
| i16_partial_result_is_ok | Check if the result was ok. |
| i16_partial_result_ok | Get the value from the result. Panics if the result is an error. |
| i16_result_err | Get the error from the result. Panics if the result is successful. |
| i16_result_is_err | Check if the result was an error. |
| i16_result_is_ok | Check if the result was ok. |
| i16_result_ok | Get the value from the result. Panics if the result is an error. |
| i16toa⚠ | Serializer for a number-to-string conversion using pointer ranges. |
| i32_partial_result_err | Get the error from the result. Panics if the result is successful. |
| i32_partial_result_is_err | Check if the result was an error. |
| i32_partial_result_is_ok | Check if the result was ok. |
| i32_partial_result_ok | Get the value from the result. Panics if the result is an error. |
| i32_result_err | Get the error from the result. Panics if the result is successful. |
| i32_result_is_err | Check if the result was an error. |
| i32_result_is_ok | Check if the result was ok. |
| i32_result_ok | Get the value from the result. Panics if the result is an error. |
| i32toa⚠ | Serializer for a number-to-string conversion using pointer ranges. |
| i64_partial_result_err | Get the error from the result. Panics if the result is successful. |
| i64_partial_result_is_err | Check if the result was an error. |
| i64_partial_result_is_ok | Check if the result was ok. |
| i64_partial_result_ok | Get the value from the result. Panics if the result is an error. |
| i64_result_err | Get the error from the result. Panics if the result is successful. |
| i64_result_is_err | Check if the result was an error. |
| i64_result_is_ok | Check if the result was ok. |
| i64_result_ok | Get the value from the result. Panics if the result is an error. |
| i64toa⚠ | Serializer for a number-to-string conversion using pointer ranges. |
| i128_result_err | Get the error from the result. Panics if the result is successful. |
| i128_result_is_err | Check if the result was an error. |
| i128_result_is_ok | Check if the result was ok. |
| i128_result_ok | Get the value from the result. Panics if the result is an error. |
| i128toa⚠ | Serializer for a number-to-string conversion using pointer ranges. |
| isize_partial_result_err | Get the error from the result. Panics if the result is successful. |
| isize_partial_result_is_err | Check if the result was an error. |
| isize_partial_result_is_ok | Check if the result was ok. |
| isize_partial_result_ok | Get the value from the result. Panics if the result is an error. |
| isize_result_err | Get the error from the result. Panics if the result is successful. |
| isize_result_is_err | Check if the result was an error. |
| isize_result_is_ok | Check if the result was ok. |
| isize_result_ok | Get the value from the result. Panics if the result is an error. |
| isizetoa⚠ | Serializer for a number-to-string conversion using pointer ranges. |
| set_inf_string⚠ | Set the short representation of Infinity from a pointer and size. |
| set_infinity_string⚠ | Set the long representation of Infinity from a pointer and size. |
| set_nan_string⚠ | Set representation of Not a Number from a pointer and size. |
| u8_partial_result_err | Get the error from the result. Panics if the result is successful. |
| u8_partial_result_is_err | Check if the result was an error. |
| u8_partial_result_is_ok | Check if the result was ok. |
| u8_partial_result_ok | Get the value from the result. Panics if the result is an error. |
| u8_result_err | Get the error from the result. Panics if the result is successful. |
| u8_result_is_err | Check if the result was an error. |
| u8_result_is_ok | Check if the result was ok. |
| u8_result_ok | Get the value from the result. Panics if the result is an error. |
| u8toa⚠ | Serializer for a number-to-string conversion using pointer ranges. |
| u16_partial_result_err | Get the error from the result. Panics if the result is successful. |
| u16_partial_result_is_err | Check if the result was an error. |
| u16_partial_result_is_ok | Check if the result was ok. |
| u16_partial_result_ok | Get the value from the result. Panics if the result is an error. |
| u16_result_err | Get the error from the result. Panics if the result is successful. |
| u16_result_is_err | Check if the result was an error. |
| u16_result_is_ok | Check if the result was ok. |
| u16_result_ok | Get the value from the result. Panics if the result is an error. |
| u16toa⚠ | Serializer for a number-to-string conversion using pointer ranges. |
| u32_partial_result_err | Get the error from the result. Panics if the result is successful. |
| u32_partial_result_is_err | Check if the result was an error. |
| u32_partial_result_is_ok | Check if the result was ok. |
| u32_partial_result_ok | Get the value from the result. Panics if the result is an error. |
| u32_result_err | Get the error from the result. Panics if the result is successful. |
| u32_result_is_err | Check if the result was an error. |
| u32_result_is_ok | Check if the result was ok. |
| u32_result_ok | Get the value from the result. Panics if the result is an error. |
| u32toa⚠ | Serializer for a number-to-string conversion using pointer ranges. |
| u64_partial_result_err | Get the error from the result. Panics if the result is successful. |
| u64_partial_result_is_err | Check if the result was an error. |
| u64_partial_result_is_ok | Check if the result was ok. |
| u64_partial_result_ok | Get the value from the result. Panics if the result is an error. |
| u64_result_err | Get the error from the result. Panics if the result is successful. |
| u64_result_is_err | Check if the result was an error. |
| u64_result_is_ok | Check if the result was ok. |
| u64_result_ok | Get the value from the result. Panics if the result is an error. |
| u64toa⚠ | Serializer for a number-to-string conversion using pointer ranges. |
| u128_result_err | Get the error from the result. Panics if the result is successful. |
| u128_result_is_err | Check if the result was an error. |
| u128_result_is_ok | Check if the result was ok. |
| u128_result_ok | Get the value from the result. Panics if the result is an error. |
| u128toa⚠ | Serializer for a number-to-string conversion using pointer ranges. |
| usize_partial_result_err | Get the error from the result. Panics if the result is successful. |
| usize_partial_result_is_err | Check if the result was an error. |
| usize_partial_result_is_ok | Check if the result was ok. |
| usize_partial_result_ok | Get the value from the result. Panics if the result is an error. |
| usize_result_err | Get the error from the result. Panics if the result is successful. |
| usize_result_is_err | Check if the result was an error. |
| usize_result_is_ok | Check if the result was ok. |
| usize_result_ok | Get the value from the result. Panics if the result is an error. |
| usizetoa⚠ | Serializer for a number-to-string conversion using pointer ranges. |
Type Definitions
| F32PartialResult | Expanded generic for a result type containing a value of type F32Tuple. |
| F32Result | Expanded generic for a result type containing a value of type f32. |
| F32Tuple | Expanded-generic for a tuple of (f32, usize). |
| F64PartialResult | Expanded generic for a result type containing a value of type F64Tuple. |
| F64Result | Expanded generic for a result type containing a value of type f64. |
| F64Tuple | Expanded-generic for a tuple of (f64, usize). |
| I8PartialResult | Expanded generic for a result type containing a value of type I8Tuple. |
| I8Result | Expanded generic for a result type containing a value of type i8. |
| I8Tuple | Expanded-generic for a tuple of (i8, usize). |
| I16PartialResult | Expanded generic for a result type containing a value of type I16Tuple. |
| I16Result | Expanded generic for a result type containing a value of type i16. |
| I16Tuple | Expanded-generic for a tuple of (i16, usize). |
| I32PartialResult | Expanded generic for a result type containing a value of type I32Tuple. |
| I32Result | Expanded generic for a result type containing a value of type i32. |
| I32Tuple | Expanded-generic for a tuple of (i32, usize). |
| I64PartialResult | Expanded generic for a result type containing a value of type I64Tuple. |
| I64Result | Expanded generic for a result type containing a value of type i64. |
| I64Tuple | Expanded-generic for a tuple of (i64, usize). |
| I128Result | Expanded generic for a result type containing a value of type i128. |
| IsizePartialResult | Expanded generic for a result type containing a value of type IsizeTuple. |
| IsizeResult | Expanded generic for a result type containing a value of type isize. |
| IsizeTuple | Expanded-generic for a tuple of (isize, usize). |
| U8PartialResult | Expanded generic for a result type containing a value of type U8Tuple. |
| U8Result | Expanded generic for a result type containing a value of type u8. |
| U8Tuple | Expanded-generic for a tuple of (u8, usize). |
| U16PartialResult | Expanded generic for a result type containing a value of type U16Tuple. |
| U16Result | Expanded generic for a result type containing a value of type u16. |
| U16Tuple | Expanded-generic for a tuple of (u16, usize). |
| U32PartialResult | Expanded generic for a result type containing a value of type U32Tuple. |
| U32Result | Expanded generic for a result type containing a value of type u32. |
| U32Tuple | Expanded-generic for a tuple of (u32, usize). |
| U64PartialResult | Expanded generic for a result type containing a value of type U64Tuple. |
| U64Result | Expanded generic for a result type containing a value of type u64. |
| U64Tuple | Expanded-generic for a tuple of (u64, usize). |
| U128Result | Expanded generic for a result type containing a value of type u128. |
| UsizePartialResult | Expanded generic for a result type containing a value of type UsizeTuple. |
| UsizeResult | Expanded generic for a result type containing a value of type usize. |
| UsizeTuple | Expanded-generic for a tuple of (usize, usize). |