Struct go_vm::FfiFactory
source · pub struct FfiFactory { /* private fields */ }
Implementations§
source§impl FfiFactory
impl FfiFactory
pub fn new() -> FfiFactory
pub fn with_user_data(ptr: usize) -> FfiFactory
pub fn register(&mut self, name: &'static str, proto: Rc<dyn Ffi>)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for FfiFactory
impl !Send for FfiFactory
impl !Sync for FfiFactory
impl Unpin for FfiFactory
impl !UnwindSafe for FfiFactory
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