pub struct LanguageAdapterCApi { /* private fields */ }
Expand description
The C API implemented by language adapters
Implementations§
Source§impl LanguageAdapterCApi
impl LanguageAdapterCApi
pub fn init_adapter(&self, args: &LanguageAdapterInitArgs)
pub fn get_api(&self) -> Vec<u8>
pub fn run_function( &self, path: str_ref<'_>, args: Ref<'_, *const Erased>, ) -> *const Erased
Trait Implementations§
Source§impl WrapperApi for LanguageAdapterCApi
impl WrapperApi for LanguageAdapterCApi
Auto Trait Implementations§
impl Freeze for LanguageAdapterCApi
impl RefUnwindSafe for LanguageAdapterCApi
impl Send for LanguageAdapterCApi
impl Sync for LanguageAdapterCApi
impl Unpin for LanguageAdapterCApi
impl UnwindSafe for LanguageAdapterCApi
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