pub struct TempManager { /* private fields */ }
Implementations
sourceimpl TempManager
impl TempManager
pub fn new(starting_instruction_offset: usize) -> Self
pub fn count(&self) -> usize
pub fn reconcile_deferred_temps(
&self,
temp_registers_start: u8,
bytecode: &mut Vec<Instruction>
)
pub fn take_temp(&mut self) -> Temporary
pub fn take_temp_range(&mut self, total: usize) -> Vec<Temporary>
pub fn set_next_instruction_offset(&mut self, next_instruction_offset: usize)
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for TempManager
impl !Send for TempManager
impl !Sync for TempManager
impl Unpin for TempManager
impl !UnwindSafe for TempManager
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more