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: Visibility
type_token: Type
ident: Ident
semi_token: Semi
Trait 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]