pub struct JITFactoryRegistry { /* private fields */ }
Expand description
Registry of JIT function factories.
Implementations§
Source§impl JITFactoryRegistry
impl JITFactoryRegistry
Sourcepub fn register(&mut self, factory: Box<dyn JITFunctionFactory>)
pub fn register(&mut self, factory: Box<dyn JITFunctionFactory>)
Register a new JIT function factory.
Sourcepub fn get_factory_for_array_type(
&self,
array_typeid: TypeId,
) -> Option<&dyn JITFunctionFactory>
pub fn get_factory_for_array_type( &self, array_typeid: TypeId, ) -> Option<&dyn JITFunctionFactory>
Get a JIT function factory that supports the given array type.
Trait Implementations§
Source§impl Debug for JITFactoryRegistry
impl Debug for JITFactoryRegistry
Source§impl Default for JITFactoryRegistry
impl Default for JITFactoryRegistry
Source§fn default() -> JITFactoryRegistry
fn default() -> JITFactoryRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JITFactoryRegistry
impl !RefUnwindSafe for JITFactoryRegistry
impl Send for JITFactoryRegistry
impl Sync for JITFactoryRegistry
impl Unpin for JITFactoryRegistry
impl !UnwindSafe for JITFactoryRegistry
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