syn_solidity::spanned

Trait Spanned

Source
pub trait Spanned {
    // Required methods
    fn span(&self) -> Span;
    fn set_span(&mut self, span: Span);

    // Provided method
    fn with_span(self, span: Span) -> Self
       where Self: Sized { ... }
}
Expand description

A trait that can provide the Span of the complete contents of a syntax tree node.

The main difference between this trait and syn::spanned::Spanned is that this trait does not depend on a quote::ToTokens implementation to retrieve a span, as it is usually stored inside of the syntax tree node itself.

Required Methods§

Source

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.

Source

fn set_span(&mut self, span: Span)

Sets the span of this syntax tree node if it is not empty.

Provided Methods§

Source

fn with_span(self, span: Span) -> Self
where Self: Sized,

Sets the span of this owned syntax tree node if it is not empty.

Implementations on Foreign Types§

Source§

impl Spanned for TokenTree

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Lit

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Group

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Ident

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Literal

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Punct

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Span

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for TokenStream

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

fn with_span(self, span: Span) -> Self

Source§

impl Spanned for Lifetime

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for LitBool

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for LitByte

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for LitByteStr

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for LitChar

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for LitFloat

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for LitInt

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for LitStr

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Abstract

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for And

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for AndAnd

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for AndEq

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for As

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Async

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for At

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Auto

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Await

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Become

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Box

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Brace

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

fn with_span(self, span: Span) -> Self

Source§

impl Spanned for Bracket

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

fn with_span(self, span: Span) -> Self

Source§

impl Spanned for Break

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Caret

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for CaretEq

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Colon

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Comma

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Const

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Continue

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Crate

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Default

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Do

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Dollar

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Dot

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for DotDot

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for DotDotDot

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for DotDotEq

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Dyn

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Else

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Enum

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Eq

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for EqEq

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Extern

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for FatArrow

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Final

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Fn

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for For

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Ge

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Gt

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for If

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Impl

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for In

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for LArrow

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Le

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Let

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Loop

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Lt

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Macro

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Match

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Minus

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for MinusEq

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Mod

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Move

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Mut

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Ne

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Not

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Or

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for OrEq

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for OrOr

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Override

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Paren

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

fn with_span(self, span: Span) -> Self

Source§

impl Spanned for PathSep

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Percent

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for PercentEq

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Plus

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for PlusEq

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Pound

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Priv

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Pub

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Question

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for RArrow

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Ref

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Return

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for SelfType

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for SelfValue

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Semi

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Shl

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for ShlEq

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Shr

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for ShrEq

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Slash

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for SlashEq

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Star

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for StarEq

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Static

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Struct

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Super

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Tilde

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Trait

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Try

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Type

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Typeof

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Underscore

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Union

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Unsafe

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Unsized

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Use

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Virtual

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Where

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for While

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl Spanned for Yield

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl<T: Spanned> Spanned for Option<T>

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl<T: Spanned> Spanned for [T]

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl<T: Spanned> Spanned for Vec<T>

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl<T: Spanned, P: Spanned> Spanned for Pair<T, P>

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl<T: Spanned, P: Spanned> Spanned for Punctuated<T, P>

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl<T: ?Sized + Spanned> Spanned for &T

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, _span: Span)

Source§

impl<T: ?Sized + Spanned> Spanned for &mut T

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Source§

impl<T: ?Sized + Spanned> Spanned for Box<T>

Source§

fn span(&self) -> Span

Source§

fn set_span(&mut self, span: Span)

Implementors§

Source§

impl Spanned for BinOp

Source§

impl Spanned for ContractKind

Source§

impl Spanned for Expr

Source§

impl Spanned for FunctionAttribute

Source§

impl Spanned for FunctionKind

Source§

impl Spanned for ImportPath

Source§

impl Spanned for Item

Source§

impl Spanned for syn_solidity::Lit

Source§

impl Spanned for LitNumber

Source§

impl Spanned for Mutability

Source§

impl Spanned for PostUnOp

Source§

impl Spanned for PragmaTokens

Source§

impl Spanned for Stmt

Source§

impl Spanned for Storage

Source§

impl Spanned for SubDenomination

Source§

impl Spanned for syn_solidity::Type

Source§

impl Spanned for UnOp

Source§

impl Spanned for UserDefinableOperator

Source§

impl Spanned for UsingList

Source§

impl Spanned for UsingType

Source§

impl Spanned for VarDeclDecl

Source§

impl Spanned for VariableAttribute

Source§

impl Spanned for Visibility

Source§

impl Spanned for YulEVMBuiltIn

Source§

impl Spanned for YulExpr

Source§

impl Spanned for YulFnType

Source§

impl Spanned for YulStmt

Source§

impl Spanned for abicoder

Source§

impl Spanned for add

Source§

impl Spanned for addmod

Source§

impl Spanned for address

Source§

impl Spanned for and

Source§

impl Spanned for anonymous

Source§

impl Spanned for assembly

Source§

impl Spanned for balance

Source§

impl Spanned for basefee

Source§

impl Spanned for blockhash

Source§

impl Spanned for byte

Source§

impl Spanned for call

Source§

impl Spanned for callcode

Source§

impl Spanned for calldata

Source§

impl Spanned for calldatacopy

Source§

impl Spanned for calldataload

Source§

impl Spanned for calldatasize

Source§

impl Spanned for caller

Source§

impl Spanned for callvalue

Source§

impl Spanned for case

Source§

impl Spanned for catch

Source§

impl Spanned for chainid

Source§

impl Spanned for coinbase

Source§

impl Spanned for constant

Source§

impl Spanned for constructor

Source§

impl Spanned for contract

Source§

impl Spanned for create2

Source§

impl Spanned for create

Source§

impl Spanned for days

Source§

impl Spanned for default

Source§

impl Spanned for delegatecall

Source§

impl Spanned for delete

Source§

impl Spanned for difficulty

Source§

impl Spanned for div

Source§

impl Spanned for emit

Source§

impl Spanned for eq

Source§

impl Spanned for error

Source§

impl Spanned for ether

Source§

impl Spanned for event

Source§

impl Spanned for exp

Source§

impl Spanned for experimental

Source§

impl Spanned for extcodecopy

Source§

impl Spanned for extcodehash

Source§

impl Spanned for extcodesize

Source§

impl Spanned for external

Source§

impl Spanned for fallback

Source§

impl Spanned for from

Source§

impl Spanned for function

Source§

impl Spanned for gas

Source§

impl Spanned for gaslimit

Source§

impl Spanned for gasprice

Source§

impl Spanned for global

Source§

impl Spanned for gt

Source§

impl Spanned for gwei

Source§

impl Spanned for hex

Source§

impl Spanned for hours

Source§

impl Spanned for immutable

Source§

impl Spanned for import

Source§

impl Spanned for indexed

Source§

impl Spanned for interface

Source§

impl Spanned for internal

Source§

impl Spanned for invalid

Source§

impl Spanned for is

Source§

impl Spanned for iszero

Source§

impl Spanned for keccak256

Source§

impl Spanned for leave

Source§

impl Spanned for library

Source§

impl Spanned for log0

Source§

impl Spanned for log1

Source§

impl Spanned for log2

Source§

impl Spanned for log3

Source§

impl Spanned for log4

Source§

impl Spanned for lt

Source§

impl Spanned for mapping

Source§

impl Spanned for memory

Source§

impl Spanned for minutes

Source§

impl Spanned for mload

Source§

impl Spanned for modifier

Source§

impl Spanned for msize

Source§

impl Spanned for mstore8

Source§

impl Spanned for mstore

Source§

impl Spanned for mul

Source§

impl Spanned for mulmod

Source§

impl Spanned for new

Source§

impl Spanned for not

Source§

impl Spanned for number

Source§

impl Spanned for or

Source§

impl Spanned for origin

Source§

impl Spanned for panic

Source§

impl Spanned for payable

Source§

impl Spanned for pop

Source§

impl Spanned for pragma

Source§

impl Spanned for prevrandao

Source§

impl Spanned for private

Source§

impl Spanned for public

Source§

impl Spanned for pure

Source§

impl Spanned for receive

Source§

impl Spanned for returndatacopy

Source§

impl Spanned for returndatasize

Source§

impl Spanned for returns

Source§

impl Spanned for revert

Source§

impl Spanned for sar

Source§

impl Spanned for sdiv

Source§

impl Spanned for seconds

Source§

impl Spanned for selfbalance

Source§

impl Spanned for selfdestruct

Source§

impl Spanned for sgt

Source§

impl Spanned for shl

Source§

impl Spanned for shr

Source§

impl Spanned for signextend

Source§

impl Spanned for sload

Source§

impl Spanned for slt

Source§

impl Spanned for smod

Source§

impl Spanned for solidity

Source§

impl Spanned for sstore

Source§

impl Spanned for staticcall

Source§

impl Spanned for stop

Source§

impl Spanned for storage

Source§

impl Spanned for sub

Source§

impl Spanned for switch

Source§

impl Spanned for timestamp

Source§

impl Spanned for tuple

Source§

impl Spanned for unchecked

Source§

impl Spanned for unicode

Source§

impl Spanned for using

Source§

impl Spanned for view

Source§

impl Spanned for weeks

Source§

impl Spanned for wei

Source§

impl Spanned for xor

Source§

impl Spanned for years

Source§

impl Spanned for ArgList

Source§

impl Spanned for AssemblyFlags

Source§

impl Spanned for Block

Source§

impl Spanned for CatchClause

Source§

impl Spanned for EventParameter

Source§

impl Spanned for ExprArray

Source§

impl Spanned for ExprBinary

Source§

impl Spanned for ExprCall

Source§

impl Spanned for ExprCallOptions

Source§

impl Spanned for ExprDelete

Source§

impl Spanned for ExprIndex

Source§

impl Spanned for ExprMember

Source§

impl Spanned for ExprNew

Source§

impl Spanned for ExprPayable

Source§

impl Spanned for ExprPostfix

Source§

impl Spanned for ExprTernary

Source§

impl Spanned for ExprTuple

Source§

impl Spanned for ExprTypeCall

Source§

impl Spanned for ExprUnary

Source§

impl Spanned for File

Source§

impl Spanned for FunctionAttributes

Source§

impl Spanned for HexStr

Source§

impl Spanned for ImportAlias

Source§

impl Spanned for ImportAliases

Source§

impl Spanned for ImportDirective

Source§

impl Spanned for ImportGlob

Source§

impl Spanned for ImportPlain

Source§

impl Spanned for Inheritance

Source§

impl Spanned for ItemContract

Source§

impl Spanned for ItemEnum

Source§

impl Spanned for ItemError

Source§

impl Spanned for ItemEvent

Source§

impl Spanned for ItemFunction

Source§

impl Spanned for ItemStruct

Source§

impl Spanned for ItemUdt

Source§

impl Spanned for LitDenominated

Source§

impl Spanned for LitHexStr

Source§

impl Spanned for syn_solidity::LitStr

Source§

impl Spanned for LitUnicodeStr

Source§

impl Spanned for Modifier

Source§

impl Spanned for NamedArg

Source§

impl Spanned for NamedArgList

Source§

impl Spanned for syn_solidity::Override

Source§

impl Spanned for PragmaDirective

Source§

impl Spanned for Returns

Source§

impl Spanned for SolIdent

Source§

impl Spanned for SolPath

Source§

impl Spanned for StmtAssembly

Source§

impl Spanned for StmtBreak

Source§

impl Spanned for StmtContinue

Source§

impl Spanned for StmtDoWhile

Source§

impl Spanned for StmtEmit

Source§

impl Spanned for StmtExpr

Source§

impl Spanned for StmtFor

Source§

impl Spanned for StmtIf

Source§

impl Spanned for StmtReturn

Source§

impl Spanned for StmtRevert

Source§

impl Spanned for StmtTry

Source§

impl Spanned for StmtVarDecl

Source§

impl Spanned for StmtWhile

Source§

impl Spanned for TypeArray

Source§

impl Spanned for TypeFunction

Source§

impl Spanned for TypeMapping

Source§

impl Spanned for TypeTuple

Source§

impl Spanned for UncheckedBlock

Source§

impl Spanned for UnicodeStr

Source§

impl Spanned for UsingDirective

Source§

impl Spanned for UsingListItem

Source§

impl Spanned for VarDeclTuple

Source§

impl Spanned for VariableAttributes

Source§

impl Spanned for VariableDeclaration

Source§

impl Spanned for VariableDefinition

Source§

impl Spanned for Variant

Source§

impl Spanned for WalrusToken

Source§

impl Spanned for YulBlock

Source§

impl Spanned for YulCaseBranch

Source§

impl Spanned for YulFnCall

Source§

impl Spanned for YulFor

Source§

impl Spanned for YulFunctionDef

Source§

impl Spanned for YulIdent

Source§

impl Spanned for YulIf

Source§

impl Spanned for YulPath

Source§

impl Spanned for YulReturns

Source§

impl Spanned for YulSwitch

Source§

impl Spanned for YulSwitchDefault

Source§

impl Spanned for YulVarAssign

Source§

impl Spanned for YulVarDecl

Source§

impl<P: Spanned> Spanned for Parameters<P>