#[repr(C)]pub struct FunctionRegistry<'f> { /* private fields */ }
Implementations§
Source§impl<'f> FunctionRegistry<'f>
impl<'f> FunctionRegistry<'f>
Source§impl<'f> FunctionRegistry<'f>
impl<'f> FunctionRegistry<'f>
pub fn register_lazy( self: Pin<&mut Self>, descriptor: &FunctionDescriptor, ) -> Status
Source§impl<'f> FunctionRegistry<'f>
impl<'f> FunctionRegistry<'f>
pub fn find_static_overloads<'this>( &'this self, name: StringView<'_>, receiver_style: bool, types: Span<'_, Kind>, ) -> Vec<FunctionOverloadReference<'this, 'f>>
pub fn find_static_overloads_by_arity<'this>( &'this self, name: StringView<'_>, receiver_style: bool, arity: usize, ) -> Vec<FunctionOverloadReference<'this, 'f>>
pub fn find_lazy_overloads<'this>( &'this self, name: StringView<'_>, receiver_style: bool, types: Span<'_, Kind>, ) -> Vec<LazyOverload<'this>>
pub fn find_lazy_overloads_by_arity<'this>( &'this self, name: StringView<'_>, receiver_style: bool, arity: usize, ) -> Vec<LazyOverload<'this>>
pub fn list_functions<'this>(&'this self) -> FunctionRegistryIterator<'this> ⓘ
Trait Implementations§
Source§impl<'f> ExternType for FunctionRegistry<'f>
impl<'f> ExternType for FunctionRegistry<'f>
impl<'f> Send for FunctionRegistry<'f>
impl<'f> Sync for FunctionRegistry<'f>
Auto Trait Implementations§
impl<'f> !Freeze for FunctionRegistry<'f>
impl<'f> RefUnwindSafe for FunctionRegistry<'f>
impl<'f> !Unpin for FunctionRegistry<'f>
impl<'f> UnwindSafe for FunctionRegistry<'f>
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