Struct intuicio_core::registry::Registry
source · pub struct Registry { /* private fields */ }
Implementations§
source§impl Registry
impl Registry
pub fn with_basic_types(self) -> Self
pub fn with_function(self, function: Function) -> Self
pub fn with_struct(self, struct_type: Struct) -> Self
pub fn add_function_handle(&mut self, function_handle: FunctionHandle)
pub fn add_function(&mut self, function: Function) -> FunctionHandle
pub fn remove_function(&mut self, function_handle: FunctionHandle)
pub fn remove_functions(&mut self, query: FunctionQuery<'_>)
pub fn functions(&self) -> impl Iterator<Item = &FunctionHandle>
pub fn find_functions<'a>( &'a self, query: FunctionQuery<'a> ) -> impl Iterator<Item = FunctionHandle> + '_
pub fn find_function<'a>( &'a self, query: FunctionQuery<'a> ) -> Option<FunctionHandle>
pub fn add_struct_handle(&mut self, struct_handle: StructHandle)
pub fn add_struct(&mut self, struct_type: Struct) -> StructHandle
pub fn remove_struct(&mut self, struct_handle: StructHandle)
pub fn remove_structs(&mut self, query: StructQuery<'_>)
pub fn structs(&self) -> impl Iterator<Item = &StructHandle>
pub fn find_structs<'a>( &'a self, query: StructQuery<'a> ) -> impl Iterator<Item = StructHandle> + '_
pub fn find_struct<'a>(&'a self, query: StructQuery<'a>) -> Option<StructHandle>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Registry
impl !Send for Registry
impl !Sync for Registry
impl Unpin for Registry
impl !UnwindSafe for Registry
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