Crate typeshare

Source
Expand description

Types and functions for code that defines and/or uses #[typeshare] types.

Structs§

I54
The 54-bit signed integer type. Purpose of this type is to mimic JavaScript’s integer type.
U53
The 53-bit unsigned integer type. Purpose of this type is to mimic JavaScript’s integer type.

Functions§

usize_from_u53_saturated
Safely convert a U53 integer to usize

Attribute Macros§

typeshare
Marks a type as a type shared across the FFI boundary using typeshare.