Struct proc_macro::bridge::client::Bridge
source · struct Bridge<'a> {
cached_buffer: Buffer,
dispatch: Closure<'a, Buffer, Buffer>,
globals: ExpnGlobals<Span>,
}
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Fields§
§cached_buffer: Buffer
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Reusable buffer (only clear
-ed, never shrunk), primarily
used for making requests.
dispatch: Closure<'a, Buffer, Buffer>
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Server-side function that the client uses to make requests.
globals: ExpnGlobals<Span>
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Provided globals for this macro expansion.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Bridge<'a>
impl<'a> Unpin for Bridge<'a>
impl<'a> UnwindSafe for Bridge<'a>
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