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 Freeze for FfiFactory
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