Struct proc_macro::bridge::server::MaybeCrossThread
source · pub struct MaybeCrossThread<P> {
cross_thread: bool,
marker: PhantomData<P>,
}
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Fields§
§cross_thread: bool
🔬This is a nightly-only experimental API. (
§proc_macro_internals
#27812)marker: PhantomData<P>
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Implementations§
Trait Implementations§
source§impl<P> ExecutionStrategy for MaybeCrossThread<P>where
P: MessagePipe<Buffer> + Send + 'static,
impl<P> ExecutionStrategy for MaybeCrossThread<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 MaybeCrossThread<P>where P: RefUnwindSafe,
impl<P> Send for MaybeCrossThread<P>where P: Send,
impl<P> Sync for MaybeCrossThread<P>where P: Sync,
impl<P> Unpin for MaybeCrossThread<P>where P: Unpin,
impl<P> UnwindSafe for MaybeCrossThread<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