pub struct UnderlyingFfi {
pub ffi_obj: Rc<RefCell<dyn Ffi>>,
pub methods: Vec<(String, GosMetadata)>,
}
Fields§
§ffi_obj: Rc<RefCell<dyn Ffi>>
§methods: Vec<(String, GosMetadata)>
Implementations§
Source§impl UnderlyingFfi
impl UnderlyingFfi
pub fn new( obj: Rc<RefCell<dyn Ffi>>, methods: Vec<(String, GosMetadata)>, ) -> UnderlyingFfi
Trait Implementations§
Source§impl Clone for UnderlyingFfi
impl Clone for UnderlyingFfi
Source§fn clone(&self) -> UnderlyingFfi
fn clone(&self) -> UnderlyingFfi
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for UnderlyingFfi
impl !RefUnwindSafe for UnderlyingFfi
impl !Send for UnderlyingFfi
impl !Sync for UnderlyingFfi
impl Unpin for UnderlyingFfi
impl !UnwindSafe for UnderlyingFfi
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