pub struct StackMemory { /* private fields */ }Implementations§
Source§impl StackMemory
impl StackMemory
pub fn new() -> Self
pub fn pop(&mut self) -> Option<Object>
pub fn push(&mut self, a: Object)
pub fn push_glob(&mut self, a: Object)
pub fn push_ret(&mut self, a: Object)
pub fn new_stack(&mut self)
pub fn del_stack(&mut self) -> Option<Stack>
pub fn len(&self) -> usize
pub fn iter_vec(&mut self) -> Vec<Object>
Trait Implementations§
Source§impl Clone for StackMemory
impl Clone for StackMemory
Source§fn clone(&self) -> StackMemory
fn clone(&self) -> StackMemory
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for StackMemory
impl RefUnwindSafe for StackMemory
impl Send for StackMemory
impl Sync for StackMemory
impl Unpin for StackMemory
impl UnwindSafe for StackMemory
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