pub struct LanguageAdapter(/* private fields */);
Expand description
Wrapper for LanguageAdapterCApi
that makes the use of the functions more convenient.
Implementations§
Source§impl LanguageAdapter
impl LanguageAdapter
pub fn new(api: Container<LanguageAdapterCApi>) -> Self
Sourcepub fn init_adapter(&self, args: &LanguageAdapterInitArgs)
pub fn init_adapter(&self, args: &LanguageAdapterInitArgs)
Initialize the adapter
pub fn run_function(&self, path: &str, args: &[*const Erased]) -> *const Erased
Auto Trait Implementations§
impl Freeze for LanguageAdapter
impl RefUnwindSafe for LanguageAdapter
impl Send for LanguageAdapter
impl Sync for LanguageAdapter
impl Unpin for LanguageAdapter
impl UnwindSafe for LanguageAdapter
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