Struct proc_macro::bridge::server::CrossThread
source · pub struct CrossThread<P>(PhantomData<P>);
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Tuple Fields§
§0: PhantomData<P>
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Implementations§
Trait Implementations§
source§impl<P> ExecutionStrategy for CrossThread<P>where
P: MessagePipe<Buffer> + Send + 'static,
impl<P> ExecutionStrategy for CrossThread<P>where P: MessagePipe<Buffer> + Send + 'static,
source§fn run_bridge_and_client(
&self,
dispatcher: &mut impl DispatcherTrait,
input: Buffer,
run_client: extern "C" fn(_: BridgeConfig<'_>) -> Buffer,
force_show_panics: bool
) -> Buffer ⓘ
fn run_bridge_and_client( &self, dispatcher: &mut impl DispatcherTrait, input: Buffer, run_client: extern "C" fn(_: BridgeConfig<'_>) -> Buffer, force_show_panics: bool ) -> Buffer ⓘ
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Auto Trait Implementations§
impl<P> RefUnwindSafe for CrossThread<P>where P: RefUnwindSafe,
impl<P> Send for CrossThread<P>where P: Send,
impl<P> Sync for CrossThread<P>where P: Sync,
impl<P> Unpin for CrossThread<P>where P: Unpin,
impl<P> UnwindSafe for CrossThread<P>where P: UnwindSafe,
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