pub struct ExtraParam {
pub java_name: &'static str,
pub java_type: &'static str,
pub c_layouts: &'static [&'static str],
pub decode: &'static str,
}Fields§
§java_name: &'static strJava parameter name in the interface.
java_type: &'static strJava type in the interface method signature.
c_layouts: &'static [&'static str]Panama ValueLayout constants for each C-level argument that maps to this Java param.
One Java param can correspond to multiple C args (e.g. cells = ptr + count).
decode: &'static strJava expression to build the interface-typed value from the raw C parameters.
Raw variables are named raw_<java_name>_<idx> where idx counts within c_layouts.
Auto Trait Implementations§
impl Freeze for ExtraParam
impl RefUnwindSafe for ExtraParam
impl Send for ExtraParam
impl Sync for ExtraParam
impl Unpin for ExtraParam
impl UnsafeUnpin for ExtraParam
impl UnwindSafe for ExtraParam
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more