pub struct ProtoContext {
pub reg_top: u32,
pub proto: Proto,
}
Fields§
§reg_top: u32
§proto: Proto
Implementations§
Source§impl ProtoContext
impl ProtoContext
pub fn new() -> Self
pub fn check_stack(&mut self, n: u32)
pub fn reserve_regs(&mut self, n: u32) -> u32
pub fn get_reg_top(&self) -> u32
pub fn free_reg(&mut self, n: u32)
Auto Trait Implementations§
impl Freeze for ProtoContext
impl RefUnwindSafe for ProtoContext
impl Send for ProtoContext
impl Sync for ProtoContext
impl Unpin for ProtoContext
impl UnwindSafe for ProtoContext
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