pub struct LLVMFunctionFactory { /* private fields */ }
Expand description
A factory for creating JIT functions using the LLVM backend
Implementations§
Trait Implementations§
Source§impl JITFunctionFactory for LLVMFunctionFactory
impl JITFunctionFactory for LLVMFunctionFactory
Source§fn create(
&self,
expression: &str,
array_type_id: TypeId,
) -> CoreResult<Box<dyn JITFunction>>
fn create( &self, expression: &str, array_type_id: TypeId, ) -> CoreResult<Box<dyn JITFunction>>
Create a new JIT function for the given expression and array type.
Source§fn supports_array_type(&self, _array_type_id: TypeId) -> bool
fn supports_array_type(&self, _array_type_id: TypeId) -> bool
Check if this factory supports the given array type.
Auto Trait Implementations§
impl Freeze for LLVMFunctionFactory
impl !RefUnwindSafe for LLVMFunctionFactory
impl Send for LLVMFunctionFactory
impl Sync for LLVMFunctionFactory
impl Unpin for LLVMFunctionFactory
impl !UnwindSafe for LLVMFunctionFactory
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more