#from option

6 messages · Page 1 of 1 (latest)

spring estuary
#

do you have some code example of what youre trying to do? is it like rs fn function() -> From<Option<i32>> { ... }that doesnt work because From is a trait, not a type

hoary hollow
#

aaa

#

i did something like this

Some(std::ptr::null_mut() as *mut _).into()```
#

it says type must be knows

spring estuary
#

are you sure you know what youre doing with raw pointers?

hoary hollow
#

im trying to understand i guess