Struct pyo3_macros_backend::attributes::kw::pass_module
source · pub struct pass_module {
pub span: Span,
}
Fields§
§span: Span
Trait Implementations§
source§impl Clone for pass_module
impl Clone for pass_module
source§impl CustomToken for pass_module
impl CustomToken for pass_module
source§impl Debug for pass_module
impl Debug for pass_module
source§impl Default for pass_module
impl Default for pass_module
source§impl Eq for pass_module
impl Eq for pass_module
#[doc(hidden)] fn assert_receiver_is_total_eq(&self)
source§impl Hash for pass_module
impl Hash for pass_module
source§impl Parse for pass_module
impl Parse for pass_module
fn parse(input: ParseStream<'_>) -> Result<pass_module>
source§impl PartialEq for pass_module
impl PartialEq for pass_module
source§impl ToTokens for pass_module
impl ToTokens for pass_module
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,
impl Copy for pass_module
Auto Trait Implementations§
impl Freeze for pass_module
impl RefUnwindSafe for pass_module
impl !Send for pass_module
impl !Sync for pass_module
impl Unpin for pass_module
impl UnwindSafe for pass_module
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
source§impl<T> RepToTokensExt for T
impl<T> RepToTokensExt for T
source§fn next(&self) -> Option<&Self>
fn next(&self) -> Option<&Self>
Pretend to be an iterator for the purposes of
quote_into_iter
.
This allows repeated calls to quote_into_iter
to continue
correctly returning DoesNotHaveIter.fn quote_into_iter(&self) -> (&Self, ThereIsNoIteratorInRepetition)
source§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
source§impl<T> Spanned for T
impl<T> Spanned for T
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.