https://pantsbuild.org/ logo
#development
Title
# development
h

hundreds-breakfast-49010

10/25/2019, 10:39 PM
I've run into cases where I wish I could easily transfer a type to rust and have it manifest in rust as an Option<T>
a

aloof-angle-91616

10/25/2019, 10:40 PM
what do you mean by transfer to rust?
h

hundreds-breakfast-49010

10/25/2019, 10:44 PM
a type we grab out of a
Value
in rust with one of the
externs::*
functions, for instance
a

aloof-angle-91616

10/25/2019, 10:45 PM
i'm pretty sure that's already the case, you can check if the value is equal to
externs::none
i think