Struct proc_macro::bridge::client::HandleStore
source · pub(super) struct HandleStore<S: Types> {
FreeFunctions: OwnedStore<S::FreeFunctions>,
TokenStream: OwnedStore<S::TokenStream>,
SourceFile: OwnedStore<S::SourceFile>,
Span: InternedStore<S::Span>,
}
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Fields§
§FreeFunctions: OwnedStore<S::FreeFunctions>
🔬This is a nightly-only experimental API. (
§proc_macro_internals
#27812)TokenStream: OwnedStore<S::TokenStream>
🔬This is a nightly-only experimental API. (
§proc_macro_internals
#27812)SourceFile: OwnedStore<S::SourceFile>
🔬This is a nightly-only experimental API. (
§proc_macro_internals
#27812)Span: InternedStore<S::Span>
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Implementations§
source§impl<S: Types> HandleStore<S>
impl<S: Types> HandleStore<S>
pub(super) fn new(handle_counters: &'static HandleCounters) -> Self
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Trait Implementations§
source§impl<'s, S: Types> Decode<'_, 's, HandleStore<MarkedTypes<S>>> for &'s Marked<S::FreeFunctions, FreeFunctions>
impl<'s, S: Types> Decode<'_, 's, HandleStore<MarkedTypes<S>>> for &'s Marked<S::FreeFunctions, FreeFunctions>
source§fn decode(r: &mut &'_ [u8], s: &'s HandleStore<MarkedTypes<S>>) -> Self
fn decode(r: &mut &'_ [u8], s: &'s HandleStore<MarkedTypes<S>>) -> Self
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)source§impl<'s, S: Types> Decode<'_, 's, HandleStore<MarkedTypes<S>>> for &'s Marked<S::SourceFile, SourceFile>
impl<'s, S: Types> Decode<'_, 's, HandleStore<MarkedTypes<S>>> for &'s Marked<S::SourceFile, SourceFile>
source§fn decode(r: &mut &'_ [u8], s: &'s HandleStore<MarkedTypes<S>>) -> Self
fn decode(r: &mut &'_ [u8], s: &'s HandleStore<MarkedTypes<S>>) -> Self
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)source§impl<'s, S: Types> Decode<'_, 's, HandleStore<MarkedTypes<S>>> for &'s Marked<S::TokenStream, TokenStream>
impl<'s, S: Types> Decode<'_, 's, HandleStore<MarkedTypes<S>>> for &'s Marked<S::TokenStream, TokenStream>
source§fn decode(r: &mut &'_ [u8], s: &'s HandleStore<MarkedTypes<S>>) -> Self
fn decode(r: &mut &'_ [u8], s: &'s HandleStore<MarkedTypes<S>>) -> Self
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)source§impl<S: Types> DecodeMut<'_, '_, HandleStore<MarkedTypes<S>>> for Marked<S::FreeFunctions, FreeFunctions>
impl<S: Types> DecodeMut<'_, '_, HandleStore<MarkedTypes<S>>> for Marked<S::FreeFunctions, FreeFunctions>
source§fn decode(r: &mut &'_ [u8], s: &mut HandleStore<MarkedTypes<S>>) -> Self
fn decode(r: &mut &'_ [u8], s: &mut HandleStore<MarkedTypes<S>>) -> Self
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)source§impl<S: Types> DecodeMut<'_, '_, HandleStore<MarkedTypes<S>>> for Marked<S::SourceFile, SourceFile>
impl<S: Types> DecodeMut<'_, '_, HandleStore<MarkedTypes<S>>> for Marked<S::SourceFile, SourceFile>
source§fn decode(r: &mut &'_ [u8], s: &mut HandleStore<MarkedTypes<S>>) -> Self
fn decode(r: &mut &'_ [u8], s: &mut HandleStore<MarkedTypes<S>>) -> Self
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)source§impl<S: Types> DecodeMut<'_, '_, HandleStore<MarkedTypes<S>>> for Marked<S::Span, Span>
impl<S: Types> DecodeMut<'_, '_, HandleStore<MarkedTypes<S>>> for Marked<S::Span, Span>
source§fn decode(r: &mut &'_ [u8], s: &mut HandleStore<MarkedTypes<S>>) -> Self
fn decode(r: &mut &'_ [u8], s: &mut HandleStore<MarkedTypes<S>>) -> Self
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)source§impl<S: Server> DecodeMut<'_, '_, HandleStore<MarkedTypes<S>>> for Marked<S::Symbol, Symbol>
impl<S: Server> DecodeMut<'_, '_, HandleStore<MarkedTypes<S>>> for Marked<S::Symbol, Symbol>
source§fn decode(r: &mut &'_ [u8], s: &mut HandleStore<MarkedTypes<S>>) -> Self
fn decode(r: &mut &'_ [u8], s: &mut HandleStore<MarkedTypes<S>>) -> Self
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)source§impl<S: Types> DecodeMut<'_, '_, HandleStore<MarkedTypes<S>>> for Marked<S::TokenStream, TokenStream>
impl<S: Types> DecodeMut<'_, '_, HandleStore<MarkedTypes<S>>> for Marked<S::TokenStream, TokenStream>
source§fn decode(r: &mut &'_ [u8], s: &mut HandleStore<MarkedTypes<S>>) -> Self
fn decode(r: &mut &'_ [u8], s: &mut HandleStore<MarkedTypes<S>>) -> Self
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)source§impl<'s, S: Types> DecodeMut<'_, 's, HandleStore<MarkedTypes<S>>> for &'s mut Marked<S::FreeFunctions, FreeFunctions>
impl<'s, S: Types> DecodeMut<'_, 's, HandleStore<MarkedTypes<S>>> for &'s mut Marked<S::FreeFunctions, FreeFunctions>
source§fn decode(r: &mut &'_ [u8], s: &'s mut HandleStore<MarkedTypes<S>>) -> Self
fn decode(r: &mut &'_ [u8], s: &'s mut HandleStore<MarkedTypes<S>>) -> Self
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)source§impl<'s, S: Types> DecodeMut<'_, 's, HandleStore<MarkedTypes<S>>> for &'s mut Marked<S::SourceFile, SourceFile>
impl<'s, S: Types> DecodeMut<'_, 's, HandleStore<MarkedTypes<S>>> for &'s mut Marked<S::SourceFile, SourceFile>
source§fn decode(r: &mut &'_ [u8], s: &'s mut HandleStore<MarkedTypes<S>>) -> Self
fn decode(r: &mut &'_ [u8], s: &'s mut HandleStore<MarkedTypes<S>>) -> Self
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)source§impl<'s, S: Types> DecodeMut<'_, 's, HandleStore<MarkedTypes<S>>> for &'s mut Marked<S::TokenStream, TokenStream>
impl<'s, S: Types> DecodeMut<'_, 's, HandleStore<MarkedTypes<S>>> for &'s mut Marked<S::TokenStream, TokenStream>
source§fn decode(r: &mut &'_ [u8], s: &'s mut HandleStore<MarkedTypes<S>>) -> Self
fn decode(r: &mut &'_ [u8], s: &'s mut HandleStore<MarkedTypes<S>>) -> Self
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)source§impl<S: Types> Encode<HandleStore<MarkedTypes<S>>> for Marked<S::FreeFunctions, FreeFunctions>
impl<S: Types> Encode<HandleStore<MarkedTypes<S>>> for Marked<S::FreeFunctions, FreeFunctions>
source§fn encode(self, w: &mut Buffer, s: &mut HandleStore<MarkedTypes<S>>)
fn encode(self, w: &mut Buffer, s: &mut HandleStore<MarkedTypes<S>>)
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)source§impl<S: Types> Encode<HandleStore<MarkedTypes<S>>> for Marked<S::SourceFile, SourceFile>
impl<S: Types> Encode<HandleStore<MarkedTypes<S>>> for Marked<S::SourceFile, SourceFile>
source§fn encode(self, w: &mut Buffer, s: &mut HandleStore<MarkedTypes<S>>)
fn encode(self, w: &mut Buffer, s: &mut HandleStore<MarkedTypes<S>>)
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)source§impl<S: Types> Encode<HandleStore<MarkedTypes<S>>> for Marked<S::Span, Span>
impl<S: Types> Encode<HandleStore<MarkedTypes<S>>> for Marked<S::Span, Span>
source§fn encode(self, w: &mut Buffer, s: &mut HandleStore<MarkedTypes<S>>)
fn encode(self, w: &mut Buffer, s: &mut HandleStore<MarkedTypes<S>>)
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)source§impl<S: Server> Encode<HandleStore<MarkedTypes<S>>> for Marked<S::Symbol, Symbol>
impl<S: Server> Encode<HandleStore<MarkedTypes<S>>> for Marked<S::Symbol, Symbol>
source§fn encode(self, w: &mut Buffer, s: &mut HandleStore<MarkedTypes<S>>)
fn encode(self, w: &mut Buffer, s: &mut HandleStore<MarkedTypes<S>>)
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)source§impl<S: Types> Encode<HandleStore<MarkedTypes<S>>> for Marked<S::TokenStream, TokenStream>
impl<S: Types> Encode<HandleStore<MarkedTypes<S>>> for Marked<S::TokenStream, TokenStream>
source§fn encode(self, w: &mut Buffer, s: &mut HandleStore<MarkedTypes<S>>)
fn encode(self, w: &mut Buffer, s: &mut HandleStore<MarkedTypes<S>>)
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Auto Trait Implementations§
impl<S> RefUnwindSafe for HandleStore<S>where <S as Types>::FreeFunctions: RefUnwindSafe, <S as Types>::SourceFile: RefUnwindSafe, <S as Types>::Span: RefUnwindSafe, <S as Types>::TokenStream: RefUnwindSafe,
impl<S> Send for HandleStore<S>where <S as Types>::FreeFunctions: Send, <S as Types>::SourceFile: Send, <S as Types>::Span: Send, <S as Types>::TokenStream: Send,
impl<S> Sync for HandleStore<S>where <S as Types>::FreeFunctions: Sync, <S as Types>::SourceFile: Sync, <S as Types>::Span: Sync, <S as Types>::TokenStream: Sync,
impl<S> Unpin for HandleStore<S>where <S as Types>::Span: Unpin,
impl<S> UnwindSafe for HandleStore<S>where <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