Struct proc_macro::bridge::server::Dispatcher
source · struct Dispatcher<S: Types> {
handle_store: HandleStore<S>,
server: S,
}
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Fields§
§handle_store: HandleStore<S>
🔬This is a nightly-only experimental API. (
§proc_macro_internals
#27812)server: S
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Trait Implementations§
source§impl<S: Server> DispatcherTrait for Dispatcher<MarkedTypes<S>>
impl<S: Server> DispatcherTrait for Dispatcher<MarkedTypes<S>>
§type FreeFunctions = <MarkedTypes<S> as Types>::FreeFunctions
type FreeFunctions = <MarkedTypes<S> as Types>::FreeFunctions
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)§type TokenStream = <MarkedTypes<S> as Types>::TokenStream
type TokenStream = <MarkedTypes<S> as Types>::TokenStream
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)§type SourceFile = <MarkedTypes<S> as Types>::SourceFile
type SourceFile = <MarkedTypes<S> as Types>::SourceFile
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)§type Span = <MarkedTypes<S> as Types>::Span
type Span = <MarkedTypes<S> as Types>::Span
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Auto Trait Implementations§
impl<S> RefUnwindSafe for Dispatcher<S>where S: RefUnwindSafe, <S as Types>::FreeFunctions: RefUnwindSafe, <S as Types>::SourceFile: RefUnwindSafe, <S as Types>::Span: RefUnwindSafe, <S as Types>::TokenStream: RefUnwindSafe,
impl<S> Send for Dispatcher<S>where S: Send, <S as Types>::FreeFunctions: Send, <S as Types>::SourceFile: Send, <S as Types>::Span: Send, <S as Types>::TokenStream: Send,
impl<S> Sync for Dispatcher<S>where S: Sync, <S as Types>::FreeFunctions: Sync, <S as Types>::SourceFile: Sync, <S as Types>::Span: Sync, <S as Types>::TokenStream: Sync,
impl<S> Unpin for Dispatcher<S>where S: Unpin, <S as Types>::Span: Unpin,
impl<S> UnwindSafe for Dispatcher<S>where S: UnwindSafe, <S as Types>::FreeFunctions: RefUnwindSafe, <S as Types>::SourceFile: RefUnwindSafe, <S as Types>::Span: UnwindSafe + RefUnwindSafe, <S as Types>::TokenStream: RefUnwindSafe,
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