Enum devise::syn::ImplItem [−][src]
pub enum ImplItem {
Const(ImplItemConst),
Method(ImplItemMethod),
Type(ImplItemType),
Existential(ImplItemExistential),
Macro(ImplItemMacro),
Verbatim(ImplItemVerbatim),
}
Expand description
An item within an impl block.
This type is available if Syn is built with the "full"
feature.
Syntax tree enum
This type is a syntax tree enum.
Variants
Const(ImplItemConst)
An associated constant within an impl block.
This type is available if Syn is built with the "full"
feature.
Tuple Fields of Const
Method(ImplItemMethod)
A method within an impl block.
This type is available if Syn is built with the "full"
feature.
Tuple Fields of Method
Type(ImplItemType)
An associated type within an impl block.
This type is available if Syn is built with the "full"
feature.
Tuple Fields of Type
0: ImplItemType
Existential(ImplItemExistential)
An existential type within an impl block.
This type is available if Syn is built with the "full"
feature.
Tuple Fields of Existential
Macro(ImplItemMacro)
A macro invocation within an impl block.
This type is available if Syn is built with the "full"
feature.
Tuple Fields of Macro
Verbatim(ImplItemVerbatim)
Tokens within an impl block not interpreted by Syn.
This type is available if Syn is built with the "full"
feature.
Tuple Fields of Verbatim
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ImplItem
impl UnwindSafe for ImplItem
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty. Read more