pub struct DynCode {
pub code: Vec<u8>,
pub obj_refs: Vec<usize>,
}Expand description
The code of one function compiled, and where in it the numbers of objects are.
Fields§
§code: Vec<u8>The function: its header, its code, and its tables.
obj_refs: Vec<usize>The offsets of the objects’ numbers in it.
Trait Implementations§
impl Eq for DynCode
impl StructuralPartialEq for DynCode
Auto Trait Implementations§
impl Forget for DynCode
impl Freeze for DynCode
impl Move for DynCode
impl RefUnwindSafe for DynCode
impl Send for DynCodewhere
RawVecInner: Send,
impl Sync for DynCodewhere
RawVecInner: Sync,
impl Unpin for DynCode
impl UnsafeUnpin for DynCodewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
impl UnwindSafe for DynCodewhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.