[][src]Struct lightbeam::CodeGenSession

pub struct CodeGenSession<'module, M> {
    pub module_context: &'module M,
    pub op_offset_map: Vec<(AssemblyOffset, Box<dyn Display + Send + Sync>)>,
    // some fields omitted
}

Fields

module_context: &'module Mop_offset_map: Vec<(AssemblyOffset, Box<dyn Display + Send + Sync>)>

Methods

impl<'module, M> CodeGenSession<'module, M>[src]

pub fn new(func_count: u32, module_context: &'module M) -> Self[src]

pub fn new_context<'this>(
    &'this mut self,
    func_idx: u32,
    reloc_sink: &'this mut dyn RelocSink
) -> Context<'this, M>
[src]

pub fn into_translated_code_section(
    self
) -> Result<TranslatedCodeSection, Error>
[src]

Auto Trait Implementations

impl<'module, M> !Send for CodeGenSession<'module, M>

impl<'module, M> !Sync for CodeGenSession<'module, M>

impl<'module, M> Unpin for CodeGenSession<'module, M>

impl<'module, M> !UnwindSafe for CodeGenSession<'module, M>

impl<'module, M> !RefUnwindSafe for CodeGenSession<'module, M>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> UnsafeAny for T where
    T: Any