Struct syn::Constraint [−][src]
pub struct Constraint {
pub ident: Ident,
pub colon_token: Colon,
pub bounds: Punctuated<TypeParamBound, Add>,
}
Expand description
An associated type bound: Iterator<Item: Display>
.
This type is available only if Syn is built with the "derive"
or "full"
feature.
Fields
ident: Ident
colon_token: Colon
bounds: Punctuated<TypeParamBound, Add>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Constraint
impl !Send for Constraint
impl !Sync for Constraint
impl Unpin for Constraint
impl UnwindSafe for Constraint
Blanket Implementations
Mutably borrows from an owned value. Read more