Struct syn::ItemTraitAlias [−][src]
pub struct ItemTraitAlias { pub attrs: Vec<Attribute>, pub vis: Visibility, pub trait_token: Trait, pub ident: Ident, pub generics: Generics, pub eq_token: Eq, pub bounds: Punctuated<TypeParamBound, Add>, pub semi_token: Semi, }
A trait alias: pub trait SharableIterator = Iterator + Sync
.
This type is available only if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
vis: Visibility
trait_token: Trait
ident: Ident
generics: Generics
eq_token: Eq
bounds: Punctuated<TypeParamBound, Add>
semi_token: Semi
Trait Implementations
impl Clone for ItemTraitAlias
[src]
impl Clone for ItemTraitAlias
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<ItemTraitAlias> for Item
[src]
impl From<ItemTraitAlias> for Item
[src]fn from(e: ItemTraitAlias) -> Item
[src]
impl Hash for ItemTraitAlias
[src]
impl Hash for ItemTraitAlias
[src]impl Parse for ItemTraitAlias
[src]
impl Parse for ItemTraitAlias
[src]fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl PartialEq<ItemTraitAlias> for ItemTraitAlias
[src]
impl PartialEq<ItemTraitAlias> for ItemTraitAlias
[src]impl ToTokens for ItemTraitAlias
[src]
impl ToTokens for ItemTraitAlias
[src]