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>
impl<P> ExecutionStrategy for CrossThread<P>
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> Freeze for CrossThread<P>
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
Source§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)] const IS_ZST: bool = _
#[doc(hidden)] const IS_ZST: bool = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const LAYOUT: Layout = _
#[doc(hidden)] const LAYOUT: Layout = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const MAX_SLICE_LEN: usize = _
#[doc(hidden)] const MAX_SLICE_LEN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)The largest safe length for a
[Self]
. Read more