Struct syn::ItemExistential
source · pub struct ItemExistential {
pub attrs: Vec<Attribute>,
pub vis: Visibility,
pub existential_token: Existential,
pub type_token: Type,
pub ident: Ident,
pub generics: Generics,
pub colon_token: Option<Colon>,
pub bounds: Punctuated<TypeParamBound, Add>,
pub semi_token: Semi,
}Expand description
An existential type: existential type Iter: Iterator<Item = u8>.
This type is available if Syn is built with the "full" feature.
Fields§
§attrs: Vec<Attribute>§vis: Visibility§existential_token: Existential§type_token: Type§ident: Ident§generics: Generics§colon_token: Option<Colon>§bounds: Punctuated<TypeParamBound, Add>§semi_token: SemiTrait Implementations§
source§impl Clone for ItemExistential
impl Clone for ItemExistential
source§fn clone(&self) -> ItemExistential
fn clone(&self) -> ItemExistential
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ItemExistential
impl Debug for ItemExistential
source§impl From<ItemExistential> for Item
impl From<ItemExistential> for Item
source§fn from(e: ItemExistential) -> Item
fn from(e: ItemExistential) -> Item
Converts to this type from the input type.