pub struct OrcMaterializationResponsibility { /* private fields */ }Implementations§
Source§impl OrcMaterializationResponsibility
impl OrcMaterializationResponsibility
pub fn get_target_dylib(&self) -> &OrcJitDylib
pub fn get_execution_session(&self) -> &OrcExecutionSession
pub fn get_symbols(&self) -> CSymbolFlagsMap<'_>
Source§impl OrcMaterializationResponsibility
impl OrcMaterializationResponsibility
pub fn get_initializer_symbol(&self) -> &OrcSymbolStringPoolEntry
pub fn get_requested_symbols(&self) -> Symbols<'_>
Source§impl OrcMaterializationResponsibility
impl OrcMaterializationResponsibility
pub fn notify_resolved( &self, symbols: &[&OrcSymbolStringPoolEntry], ) -> Result<(), Owning<Error>>
pub fn notify_emitted(&self) -> Result<(), Owning<Error>>
pub fn define_materializing( &self, pairs: &[&OrcCSymbolFlagsMapPair<'_>], ) -> Result<(), Owning<Error>>
pub unsafe fn fail_materialization(&self)
pub unsafe fn replace( &self, mu: &OrcMaterializationUnit, ) -> Result<(), Owning<Error>>
pub fn delegate( &self, symbols: &[&OrcSymbolStringPoolEntry], ) -> Result<&OrcMaterializationResponsibility, Owning<Error>>
Source§impl OrcMaterializationResponsibility
impl OrcMaterializationResponsibility
pub fn add_dependencies( &self, name: &OrcSymbolStringPoolEntry, dependencies: &[OrcCDependenceMapPair<'_>], )
pub fn add_dependencies_for_all( &self, dependencies: &[OrcCDependenceMapPair<'_>], )
Trait Implementations§
Source§impl Opaque for OrcMaterializationResponsibility
impl Opaque for OrcMaterializationResponsibility
type Inner = LLVMOrcOpaqueMaterializationResponsibility
Source§unsafe fn try_from_raw<'r>(ptr: *mut Self::Inner) -> Option<&'r Self>
unsafe fn try_from_raw<'r>(ptr: *mut Self::Inner) -> Option<&'r Self>
Try to create ref from nonnull raw pointer and check cond.
Source§unsafe fn from_raw<'r>(ptr: *mut Self::Inner) -> &'r Self
unsafe fn from_raw<'r>(ptr: *mut Self::Inner) -> &'r Self
Try to create ref from nonnull raw pointer but don’t check cond.
Source§unsafe fn from_ptr<'r>(ptr: *mut Self::Inner) -> Option<&'r Self>
unsafe fn from_ptr<'r>(ptr: *mut Self::Inner) -> Option<&'r Self>
Try to create ref from nullable raw pointer.
Source§unsafe fn cast_unchecked<T: Opaque<Inner = Self::Inner>>(&self) -> &T
unsafe fn cast_unchecked<T: Opaque<Inner = Self::Inner>>(&self) -> &T
Cast to target but don’t check cond.
fn cast<T: Opaque<Inner = Self::Inner>>(&self) -> &T
Auto Trait Implementations§
impl !Freeze for OrcMaterializationResponsibility
impl !RefUnwindSafe for OrcMaterializationResponsibility
impl Send for OrcMaterializationResponsibility
impl !Sync for OrcMaterializationResponsibility
impl !Unpin for OrcMaterializationResponsibility
impl UnwindSafe for OrcMaterializationResponsibility
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