pub struct Program {
pub instructions: Vec<Op>,
}Fields§
§instructions: Vec<Op>Implementations§
Source§impl Program
impl Program
pub fn from_string(string: &str) -> Self
pub fn find_matching_jump_end(&self, jump_start_pos: usize) -> usize
pub fn find_matching_jump_start(&self, jump_end_pos: usize) -> usize
Auto Trait Implementations§
impl Freeze for Program
impl RefUnwindSafe for Program
impl Send for Program
impl Sync for Program
impl Unpin for Program
impl UnsafeUnpin for Program
impl UnwindSafe for Program
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