pub struct Bridged {
pub port: Resolved,
pub foreign: Resolved,
}Expand description
A value with two faces: the port a Rust caller gets from Container::make_port, and the value it came from
in another language (a PHP object implementing the port’s twin), which that language’s bridge hands back.
Fields§
§port: ResolvedAn Rc<P> for the port P.
foreign: ResolvedAuto Trait Implementations§
impl !RefUnwindSafe for Bridged
impl !Send for Bridged
impl !Sync for Bridged
impl !UnwindSafe for Bridged
impl Forget for Bridged
impl Freeze for Bridged
impl Move for Bridged
impl Unpin for Bridged
impl UnsafeUnpin for Bridged
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