pub struct CFunctionInfo(/* private fields */);Implementations§
Source§impl CFunctionInfo
impl CFunctionInfo
Sourcepub const fn new(
return_info: CTypeInfo,
arg_info: &[CTypeInfo],
repr: Int64Representation,
) -> Self
pub const fn new( return_info: CTypeInfo, arg_info: &[CTypeInfo], repr: Int64Representation, ) -> Self
Construct a struct to hold a CFunction’s type information. |return_info| describes the function’s return type. |arg_info| is an array of |arg_count| CTypeInfos describing the arguments. Only the last argument may be of the special type CTypeInfo::kCallbackOptionsType.
Auto Trait Implementations§
impl Freeze for CFunctionInfo
impl RefUnwindSafe for CFunctionInfo
impl !Send for CFunctionInfo
impl !Sync for CFunctionInfo
impl Unpin for CFunctionInfo
impl UnsafeUnpin for CFunctionInfo
impl UnwindSafe for CFunctionInfo
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