This is a project to enable Rust FFI with Swift for Tauri.
Note | C | Rust | Swift |
---|---|---|---|
bool |
bool |
Bool |
|
size_t |
usize |
UInt |
|
isize |
Int |
||
signed char |
i8 |
Int8 |
|
short int |
i16 |
Int16 |
|
i32 |
Int32 |
||
(signed) long long int |
i64 |
Int64 |
|
unsigned char |
u8 |
UInt8 |
|
unsigned short int |
u16 |
UInt16 |
|
u32 |
UInt32 |
||
unsigned long long int |
u64 |
UInt64 |
|
float |
f32 |
Float32 |
|
double |
f64 |
Float64 |