pub fn program_counter(&self) -> usize {
        // Safety: this is just subtraction of pointers, it is safe to do.
        unsafe {
            self.program_counter
                .offset_from(self.contract.code.as_ptr()) as usize
        }
    }
/// Return a reference of the program counter.
Return a reference of the program counter.
Return a reference of the program counter .
pub fn program_counter(&self) -> usize {
        // Safety: this is just subtraction of pointers, it is safe to do.
        unsafe {
            self.program_counter
                .offset_from(self.contract.code.as_ptr()) as usize
        }
    }
pub fn program_counter ( & self ) -> usize { // Safety: this is just subtraction of pointers, it is safe to do. unsafe { self . program_counter . offset_from ( self . contract . code . as_ptr ( ) ) as usize } }
Return a reference of the program counter.
Return a reference of the program counter .
&self
&self