pub struct NativeSig {
pub params: Vec<NativeTy>,
pub ret: NativeTy,
}Expand description
The Rust types of a function of a native module, which the generated call must match.
Fields§
§params: Vec<NativeTy>One per parameter.
ret: NativeTyThe result; Unit when there is none.
Trait Implementations§
impl StructuralPartialEq for NativeSig
Auto Trait Implementations§
impl Freeze for NativeSig
impl RefUnwindSafe for NativeSig
impl Send for NativeSig
impl Sync for NativeSig
impl Unpin for NativeSig
impl UnsafeUnpin for NativeSig
impl UnwindSafe for NativeSig
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