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
I need to pass around the NodeID via ffi functions. And because its an opaque rust struct, I decided to simply get the usize and use that as the node_id for the sake of simplicity.
But, NodeID also has a version, making it impossible to get the original NodeID from just the usize.
It would be nice if the arena had a function to get the current NodeID at the index usize (or None if it doesn't exist).
The text was updated successfully, but these errors were encountered:
I need to pass around the
NodeID
via ffi functions. And because its an opaque rust struct, I decided to simply get theusize
and use that as the node_id for the sake of simplicity.But, NodeID also has a version, making it impossible to get the original NodeID from just the usize.
It would be nice if the arena had a function to get the current NodeID at the index
usize
(or None if it doesn't exist).The text was updated successfully, but these errors were encountered: