Struct do_with_in_base::Variables
source · pub struct Variables<'a, T: StartMarker + Clone> {
pub handlers: Handlers<'a, T>,
pub variables: HashMap<String, (TokenStream2, bool)>,
}
Fields§
§handlers: Handlers<'a, T>
§variables: HashMap<String, (TokenStream2, bool)>
Trait Implementations§
source§impl<'a, T: 'static + StartMarker + Clone> ToTokens for Variables<'a, T>
impl<'a, T: 'static + StartMarker + Clone> ToTokens for Variables<'a, T>
source§fn to_tokens(&self, tokens: &mut TokenStream2)
fn to_tokens(&self, tokens: &mut TokenStream2)
source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere Self: Sized,
Auto Trait Implementations§
impl<'a, T> !RefUnwindSafe for Variables<'a, T>
impl<'a, T> !Send for Variables<'a, T>
impl<'a, T> !Sync for Variables<'a, T>
impl<'a, T> Unpin for Variables<'a, T>
impl<'a, T> !UnwindSafe for Variables<'a, T>
Blanket Implementations§
source§impl<T> Spanned for Twhere
T: Spanned + ?Sized,
impl<T> Spanned for Twhere T: Spanned + ?Sized,
source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty.