Struct syn::ForeignItemType [−][src]
pub struct ForeignItemType {
    pub attrs: Vec<Attribute>,
    pub vis: Visibility,
    pub type_token: Type,
    pub ident: Ident,
    pub semi_token: Semi,
}A foreign type in an extern block: type void.
This type is available only if Syn is built with the "full" feature.
Fields
attrs: Vec<Attribute>vis: Visibilitytype_token: Typeident: Identsemi_token: SemiTrait Implementations
impl Clone for ForeignItemType[src]
impl Clone for ForeignItemType[src]fn clone(&self) -> Self[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl From<ForeignItemType> for ForeignItem[src]
impl From<ForeignItemType> for ForeignItem[src]fn from(e: ForeignItemType) -> ForeignItem[src]
impl Hash for ForeignItemType[src]
impl Hash for ForeignItemType[src]impl Parse for ForeignItemType[src]
impl Parse for ForeignItemType[src]fn parse(input: ParseStream<'_>) -> Result<Self>[src]
impl PartialEq<ForeignItemType> for ForeignItemType[src]
impl PartialEq<ForeignItemType> for ForeignItemType[src]impl ToTokens for ForeignItemType[src]
impl ToTokens for ForeignItemType[src]