Struct Emojicode_Thread

Source
#[repr(C)]
pub struct Emojicode_Thread { pub stackLimit_: *mut Emojicode_StackFrame, pub stackBottom_: *mut Emojicode_StackFrame, pub stack_: *mut Emojicode_StackFrame, pub futureStack_: *mut Emojicode_StackFrame, pub threadBefore_: *mut Emojicode_Thread, pub threadAfter_: *mut Emojicode_Thread, pub retainList: [*mut Emojicode_Object; 100], pub retainPointer: *mut *mut Emojicode_Object, }

Fields§

§stackLimit_: *mut Emojicode_StackFrame§stackBottom_: *mut Emojicode_StackFrame§stack_: *mut Emojicode_StackFrame§futureStack_: *mut Emojicode_StackFrame§threadBefore_: *mut Emojicode_Thread§threadAfter_: *mut Emojicode_Thread§retainList: [*mut Emojicode_Object; 100]§retainPointer: *mut *mut Emojicode_Object

Implementations§

Source§

impl Emojicode_Thread

Source

pub unsafe fn popStack(&mut self)

Source

pub unsafe fn pushStack( &mut self, self_: Emojicode_Value, frameSize: i32, argCount: i32, function: *mut Emojicode_Function, destination: *mut Emojicode_Value, executionPointer: *mut u32, )

Source

pub unsafe fn pushReservedFrame(&mut self)

Source

pub unsafe fn reserveFrame( &mut self, self_: Emojicode_Value, size: i32, function: *mut Emojicode_Function, destination: *mut Emojicode_Value, executionPointer: *mut u32, ) -> *mut Emojicode_StackFrame

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.