ffi_time 0.1.2

FFI assistant for Rust time types
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
Rust std::time::Instant in C++
==============================

`include/rust_time.h` contains `rust::time::Instant`, which is a port of Rust's `std::time::Instant` with memory-layout compatibility.

## No guarantee
No guarantee for compatibility.

Since `std::time::Instant` and `std::time::Duration` is not `#[repr(C)]`, use it on your own risk. Data without `#[repr(C)]` is unbelievably fragile on FFI boundary.

## See also
- https://github.com/youknowone/rust-ffi_types