Enum syn::TraitItem [−][src]
An item declaration within the definition of a trait.
This type is available if Syn is built with the "full"
feature.
Syntax tree enum
This type is a syntax tree enum.
Variants
Const(TraitItemConst)
An associated constant within the definition of a trait.
This type is available if Syn is built with the "full"
feature.
Method(TraitItemMethod)
A trait method within the definition of a trait.
This type is available if Syn is built with the "full"
feature.
Type(TraitItemType)
An associated type within the definition of a trait.
This type is available if Syn is built with the "full"
feature.
Macro(TraitItemMacro)
A macro invocation within the definition of a trait.
This type is available if Syn is built with the "full"
feature.
Verbatim(TraitItemVerbatim)
Tokens within the definition of a trait not interpreted by Syn.
This type is available if Syn is built with the "full"
feature.
Trait Implementations
impl Synom for TraitItem
[src]
[+]
impl Synom for TraitItem
impl Clone for TraitItem
[src]
[+]
impl Clone for TraitItem
impl From<TraitItemConst> for TraitItem
[src]
[+]
impl From<TraitItemConst> for TraitItem
impl From<TraitItemMethod> for TraitItem
[src]
[+]
impl From<TraitItemMethod> for TraitItem
impl From<TraitItemType> for TraitItem
[src]
[+]
impl From<TraitItemType> for TraitItem
impl From<TraitItemMacro> for TraitItem
[src]
[+]
impl From<TraitItemMacro> for TraitItem
impl From<TraitItemVerbatim> for TraitItem
[src]
[+]
impl From<TraitItemVerbatim> for TraitItem
impl ToTokens for TraitItem
[src]
[+]
impl ToTokens for TraitItem