Struct do_with_in::Configuration
source · pub struct Configuration<Start>where
Start: StartMarker + Clone,{
pub allow_prelude: bool,
pub sigil: Sigil,
pub escaping_style: Escaping,
pub file: Option<String>,
pub rest: Option<TokenStream>,
/* private fields */
}
Fields§
§allow_prelude: bool
§sigil: Sigil
§escaping_style: Escaping
§file: Option<String>
§rest: Option<TokenStream>
Trait Implementations§
source§impl<Start> Clone for Configuration<Start>where
Start: Clone + StartMarker,
impl<Start> Clone for Configuration<Start>where Start: 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: Debug + StartMarker + Clone,
impl<Start> Debug for Configuration<Start>where Start: Debug + StartMarker + Clone,
source§impl<T> Default for Configuration<T>where
T: StartMarker + Clone,
impl<T> Default for Configuration<T>where T: StartMarker + Clone,
source§fn default() -> Configuration<T>
fn default() -> Configuration<T>
Returns the “default value” for a type. Read more
source§impl<T> Parse for Configuration<T>where
T: StartMarker + Clone,
impl<T> Parse for Configuration<T>where T: StartMarker + Clone,
fn parse(input: &ParseBuffer<'_>) -> Result<Configuration<T>, Error>
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 TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
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,
source§fn try_from(
value: TokenStream
) -> Result<Configuration<T>, <Configuration<T> as TryFrom<TokenStream>>::Error>
fn try_from( value: TokenStream ) -> Result<Configuration<T>, <Configuration<T> as TryFrom<TokenStream>>::Error>
Performs the conversion.
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.