Skip to main content

lift_self

Function lift_self 

Source
pub unsafe fn lift_self<'a, T>(ptr: *const T) -> Result<&'a T, FfiError>
Expand description

Lift a method’s receiver (self), borrowed for the call.

§Errors

Returns a marshalling error for null.

§Safety

Same contract as lift_object_param.