Function magnus::rb_sys::value_from_raw

source ·
pub unsafe fn value_from_raw(val: VALUE) -> Value
👎Deprecated since 0.4.0: please use Value::from_raw instead
Available on crate feature rb-sys-interop only.
Expand description

Convert rb_sys::VALUE to magnus::Value.

Safety

You must only supply a valid VALUE obtained from rb-sys to this function. Using a invalid Value produced from this function will void all saftey guarantees provided by Magnus.