Struct do_with_in_base::Configuration
source · pub struct Configuration<Start>where
Start: Clone + StartMarker,{
pub allow_prelude: bool,
pub sigil: Sigil,
pub escaping_style: Escaping,
pub file: Option<String>,
pub rest: Option<TokenStream2>,
/* private fields */
}
Fields§
§allow_prelude: bool
§sigil: Sigil
§escaping_style: Escaping
§file: Option<String>
§rest: Option<TokenStream2>
Trait Implementations§
source§impl<Start> Clone for Configuration<Start>where
Start: Clone + Clone + StartMarker,
impl<Start> Clone for Configuration<Start>where Start: Clone + Clone + StartMarker,
source§fn clone(&self) -> Configuration<Start>
fn clone(&self) -> Configuration<Start>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<Start> Debug for Configuration<Start>where
Start: Clone + Debug + StartMarker,
impl<Start> Debug for Configuration<Start>where Start: Clone + Debug + StartMarker,
source§impl<T: StartMarker + Clone> Default for Configuration<T>
impl<T: StartMarker + Clone> Default for Configuration<T>
source§impl<T: StartMarker + Clone> Parse for Configuration<T>
impl<T: StartMarker + Clone> Parse for Configuration<T>
fn parse(input: ParseStream<'_>) -> Result<Self>
source§impl<T> ToTokens for Configuration<T>where
T: StartMarker + Clone,
impl<T> ToTokens for Configuration<T>where T: StartMarker + Clone,
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,
source§impl<T> TryFrom<TokenStream> for Configuration<T>where
T: StartMarker + Clone,
impl<T> TryFrom<TokenStream> for Configuration<T>where T: StartMarker + Clone,
Auto Trait Implementations§
impl<Start> RefUnwindSafe for Configuration<Start>where Start: RefUnwindSafe,
impl<Start> !Send for Configuration<Start>
impl<Start> !Sync for Configuration<Start>
impl<Start> Unpin for Configuration<Start>where Start: Unpin,
impl<Start> UnwindSafe for Configuration<Start>where Start: UnwindSafe,
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.