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
With the PR extendr/extendr#882, We should consider updating the documentation reflecting that in order for extendr functions to take custom rust structs as arguments, or return custom rustt structs, then they need to implement T: TryFrom<Robj> and Robj: From<T> respectively. which can be be donee now with annotating #[extendr] on those rust objects directly.
Also if the user wants to implement their own method, then they shouldn't use the #[extendr] macro on their structs.