Struct proc_macro::bridge::Marked
source · struct Marked<T, M> {
value: T,
_marker: PhantomData<M>,
}
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Fields§
§value: T
🔬This is a nightly-only experimental API. (
§proc_macro_internals
#27812)_marker: PhantomData<M>
🔬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)source§impl<T: PartialEq, M: PartialEq> PartialEq<Marked<T, M>> for Marked<T, M>
impl<T: PartialEq, M: PartialEq> PartialEq<Marked<T, M>> for Marked<T, M>
impl<T: Copy, M: Copy> Copy for Marked<T, M>
impl<T, M> StructuralEq for Marked<T, M>
impl<T, M> StructuralPartialEq for Marked<T, M>
Auto Trait Implementations§
impl<T, M> RefUnwindSafe for Marked<T, M>where M: RefUnwindSafe, T: RefUnwindSafe,
impl<T, M> Send for Marked<T, M>where M: Send, T: Send,
impl<T, M> Sync for Marked<T, M>where M: Sync, T: Sync,
impl<T, M> Unpin for Marked<T, M>where M: Unpin, T: Unpin,
impl<T, M> UnwindSafe for Marked<T, M>where M: UnwindSafe, T: 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