pub struct CodeVersion {
pub baseline: bool,
pub msm: ModuleStateMap,
pub base: usize,
pub backend: &'static str,
pub runnable_module: Arc<Box<dyn RunnableModule>>,
}Expand description
A CodeVersion is a container for a unit of generated code for a module.
Fields§
§baseline: boolIndicates if this code version is the baseline version.
msm: ModuleStateMapModuleStateMap for this code version.
base: usizeA pointer to the machine code for this module.
backend: &'static strThe backend used to compile this module.
runnable_module: Arc<Box<dyn RunnableModule>>RunnableModule for this code version.
Trait Implementations§
Source§impl Clone for CodeVersion
impl Clone for CodeVersion
Source§fn clone(&self) -> CodeVersion
fn clone(&self) -> CodeVersion
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CodeVersion
impl !RefUnwindSafe for CodeVersion
impl Send for CodeVersion
impl Sync for CodeVersion
impl Unpin for CodeVersion
impl !UnwindSafe for CodeVersion
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