#[repr(C)]pub struct Emojicode_Function {
pub argumentCount: i32,
pub frameSize: i32,
pub objectVariableRecords: *mut Emojicode_FunctionObjectVariableRecord,
pub objectVariableRecordsCount: u32,
pub context: i32,
pub block: Emojicode_Block,
pub handler: Option<unsafe extern "C" fn(_: *mut Emojicode_Thread)>,
}
Fields§
§argumentCount: i32
Number of arguments taken by this function
frameSize: i32
The frame size needed to execute this function.
objectVariableRecords: *mut Emojicode_FunctionObjectVariableRecord
§objectVariableRecordsCount: u32
§context: i32
§block: Emojicode_Block
§handler: Option<unsafe extern "C" fn(_: *mut Emojicode_Thread)>
A native function connect to this function
Trait Implementations§
Source§impl Clone for Emojicode_Function
impl Clone for Emojicode_Function
Source§fn clone(&self) -> Emojicode_Function
fn clone(&self) -> Emojicode_Function
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Emojicode_Function
impl Debug for Emojicode_Function
impl Copy for Emojicode_Function
Auto Trait Implementations§
impl Freeze for Emojicode_Function
impl RefUnwindSafe for Emojicode_Function
impl !Send for Emojicode_Function
impl !Sync for Emojicode_Function
impl Unpin for Emojicode_Function
impl UnwindSafe for Emojicode_Function
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