You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I want to implement support for ToLua for T:Serialze from serde. So you can lua_push just about anything :)
The problem I encountered is:
error[E0119]: conflicting implementations of trait `wrapper::convert::ToLua` for type `std::option::Option<unsafe extern "C" fn(*mut libc::c_void) -> i32>`:
Can we remove that implementation and make a newtype for it? The alternative is to make a wrapper for serde:
lua.push(SerdeWrapper(object))
Which, might be good too, but I still think it's superfluous. What do you think?
The text was updated successfully, but these errors were encountered:
Hi, I want to implement support for
ToLua
forT:Serialze
from serde. So you canlua_push
just about anything :)The problem I encountered is:
Can we remove that implementation and make a newtype for it? The alternative is to make a wrapper for serde:
Which, might be good too, but I still think it's superfluous. What do you think?
The text was updated successfully, but these errors were encountered: