Trait jit::Compile
[−]
[src]
pub trait Compile<'a> {
fn compile(self, func: &UncompiledFunction<'a>) -> &'a Val;
fn get_type() -> CowType<'a>;
}A type that can be compiled into a LibJIT representation
The lifetime is the lifetime of the value
Required Methods
fn compile(self, func: &UncompiledFunction<'a>) -> &'a Val
Get a JIT representation of this value
fn get_type() -> CowType<'a>
Get the type descriptor that represents this type
Implementors
impl<'a> Compile<'a> for ()impl<'a> Compile<'a> for f64impl<'a> Compile<'a> for f32impl<'a> Compile<'a> for isizeimpl<'a> Compile<'a> for usizeimpl<'a> Compile<'a> for i64impl<'a> Compile<'a> for u64impl<'a> Compile<'a> for i32impl<'a> Compile<'a> for u32impl<'a> Compile<'a> for i16impl<'a> Compile<'a> for u16impl<'a> Compile<'a> for i8impl<'a> Compile<'a> for u8impl<'a> Compile<'a> for boolimpl<'a> Compile<'a> for charimpl<'a, T> Compile<'a> for &'a T where T: Compile<'a> + Sizedimpl<'a> Compile<'a> for &'a strimpl<'a> Compile<'a> for &'a CStrimpl<'a, A, B> Compile<'a> for (A, B) where A: Compile<'a>, B: Compile<'a>impl<'a, A, B, C> Compile<'a> for (A, B, C) where A: Compile<'a>, B: Compile<'a>, C: Compile<'a>impl<'a, A, B, C, D> Compile<'a> for (A, B, C, D) where A: Compile<'a>, B: Compile<'a>, C: Compile<'a>, D: Compile<'a>impl<'a, A, B, C, D, E> Compile<'a> for (A, B, C, D, E) where A: Compile<'a>, B: Compile<'a>, C: Compile<'a>, D: Compile<'a>, E: Compile<'a>impl<'a, R: Compile<'a>> Compile<'a> for fn() -> Rimpl<'a, R: Compile<'a>> Compile<'a> for extern "C" fn() -> Rimpl<'a, A: Compile<'a>, R: Compile<'a>> Compile<'a> for fn(A) -> Rimpl<'a, A: Compile<'a>, R: Compile<'a>> Compile<'a> for extern "C" fn(A) -> Rimpl<'a, A: Compile<'a>, B: Compile<'a>, R: Compile<'a>> Compile<'a> for fn(A, B) -> Rimpl<'a, A: Compile<'a>, B: Compile<'a>, R: Compile<'a>> Compile<'a> for extern "C" fn(A, B) -> Rimpl<'a, A: Compile<'a>, B: Compile<'a>, C: Compile<'a>, R: Compile<'a>> Compile<'a> for fn(A, B, C) -> Rimpl<'a, A: Compile<'a>, B: Compile<'a>, C: Compile<'a>, R: Compile<'a>> Compile<'a> for extern "C" fn(A, B, C) -> Rimpl<'a, A: Compile<'a>, B: Compile<'a>, C: Compile<'a>, D: Compile<'a>, R: Compile<'a>> Compile<'a> for fn(A, B, C, D) -> Rimpl<'a, A: Compile<'a>, B: Compile<'a>, C: Compile<'a>, D: Compile<'a>, R: Compile<'a>> Compile<'a> for extern "C" fn(A, B, C, D) -> R