pub struct CraneliftFunctionFactory { /* private fields */ }
Expand description
A factory for creating JIT functions using the Cranelift backend
Implementations§
Trait Implementations§
Source§impl JITFunctionFactory for CraneliftFunctionFactory
impl JITFunctionFactory for CraneliftFunctionFactory
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 CraneliftFunctionFactory
impl !RefUnwindSafe for CraneliftFunctionFactory
impl Send for CraneliftFunctionFactory
impl Sync for CraneliftFunctionFactory
impl Unpin for CraneliftFunctionFactory
impl !UnwindSafe for CraneliftFunctionFactory
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