#[repr(C)]pub struct FfiParam {
pub name: *const i8,
pub data: *const c_void,
pub type_: i32,
pub arraylength: i32,
pub count: usize,
pub flags: i32,
}Expand description
C-compatible parameter struct, layout-identical to NSIParam_t.
Fields§
§name: *const i8§data: *const c_void§type_: i32§arraylength: i32§count: usize§flags: i32Trait Implementations§
impl Copy for FfiParam
impl Send for FfiParam
impl Sync for FfiParam
Auto Trait Implementations§
impl Freeze for FfiParam
impl RefUnwindSafe for FfiParam
impl Unpin for FfiParam
impl UnsafeUnpin for FfiParam
impl UnwindSafe for FfiParam
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more