Function cglue::result::into_int_out_result [−][src]
pub fn into_int_out_result<T, E: IntError>(
res: Result<T, E>,
ok_out: &mut MaybeUninit<T>
) -> i32
Expand description
Convert result into an integer error value, potentially writing the Ok value.
If return value is 0
, ok_out
will have initialised data, otherwise not.
Arguments
res
- result to convert.ok_out
- target output for Ok value.