CallStack

Struct CallStack 

Source
pub struct CallStack { /* private fields */ }

Implementations§

Source§

impl CallStack

Source

pub fn new() -> CallStack

Source

pub fn push_i32(&mut self, value: i32)

Source

pub fn push_i64(&mut self, value: i64)

Source

pub fn push_f32(&mut self, value: f32)

Source

pub fn push_f64(&mut self, value: f64)

Source

pub fn push_str(&mut self, value: &str)

Source

pub fn push_bool(&mut self, value: bool)

Source

pub fn push_object(&mut self, value: &dyn IObject)

Source

pub fn push_vec2(&mut self, value: &Vec2)

Source

pub fn push_size(&mut self, value: &Size)

Source

pub fn pop_i32(&mut self) -> Option<i32>

Source

pub fn pop_i64(&mut self) -> Option<i64>

Source

pub fn pop_f32(&mut self) -> Option<f32>

Source

pub fn pop_f64(&mut self) -> Option<f64>

Source

pub fn pop_str(&mut self) -> Option<String>

Source

pub fn pop_bool(&mut self) -> Option<bool>

Source

pub fn pop_object(&mut self) -> Option<Box<dyn IObject>>

Source

pub fn pop_cast<T: Clone + 'static>(&mut self) -> Option<T>

Source

pub fn pop_vec2(&mut self) -> Option<Vec2>

Source

pub fn pop_size(&mut self) -> Option<Size>

Source

pub fn pop(&mut self)

Trait Implementations§

Source§

impl Drop for CallStack

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more

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.