Struct syn::TraitItemType [−][src]
pub struct TraitItemType {
    pub attrs: Vec<Attribute>,
    pub type_token: Type,
    pub ident: Ident,
    pub generics: Generics,
    pub colon_token: Option<Colon>,
    pub bounds: Punctuated<TypeParamBound, Add>,
    pub default: Option<(Eq, Type)>,
    pub semi_token: Semi,
}An associated type within the definition of a trait.
This type is available only if Syn is built with the "full" feature.
Fields
attrs: Vec<Attribute>type_token: Typeident: Identgenerics: Genericscolon_token: Option<Colon>bounds: Punctuated<TypeParamBound, Add>default: Option<(Eq, Type)>semi_token: SemiTrait Implementations
impl Clone for TraitItemType[src]
impl Clone for TraitItemType[src]fn clone(&self) -> Self[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl From<TraitItemType> for TraitItem[src]
impl From<TraitItemType> for TraitItem[src]fn from(e: TraitItemType) -> TraitItem[src]
impl Hash for TraitItemType[src]
impl Hash for TraitItemType[src]impl Parse for TraitItemType[src]
impl Parse for TraitItemType[src]fn parse(input: ParseStream<'_>) -> Result<Self>[src]
impl PartialEq<TraitItemType> for TraitItemType[src]
impl PartialEq<TraitItemType> for TraitItemType[src]impl ToTokens for TraitItemType[src]
impl ToTokens for TraitItemType[src]