Type Definition rustmex::Rhs

source · []
pub type Rhs<'mex, 'matlab> = &'mex [&'matlab mxArray];
Expand description

The “Right hand side” of a call to a mex function. These are the arguments provided to it in matlab.

the mxArray here lives for as long as “matlab” “does”, since returning it to matlab ensures that it lives for as long as needed — matlab takes responsibility for managing its memory.