Struct devise::syn::ItemExistential [−][src]
pub struct ItemExistential {
pub attrs: Vec<Attribute, Global>,
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, Global>
vis: Visibility
existential_token: Existential
type_token: Type
ident: Ident
generics: Generics
colon_token: Option<Colon>
bounds: Punctuated<TypeParamBound, Add>
semi_token: Semi
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl !RefUnwindSafe for ItemExistential
impl !Send for ItemExistential
impl !Sync for ItemExistential
impl Unpin for ItemExistential
impl UnwindSafe for ItemExistential
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty. Read more