mlua icon indicating copy to clipboard operation
mlua copied to clipboard

Add support for types in `std::num`.

Open mintlu8 opened this issue 1 year ago • 1 comments

This includes Wrapping<T>, Saturating<T>, NonZero<T>, NonZero* etc. I think parsing to and from numbers in FromLua and IntoLua without retaining these types' special property should be valid for most use cases, since it's crossing language boundaries.

mintlu8 avatar Aug 14 '24 20:08 mintlu8

@mintlu8 is this not possible already with mlua's serde ext

cheesycod avatar Oct 29 '24 18:10 cheesycod