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: Identcolon_token: Colonbounds: Punctuated<TypeParamBound, Add>Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Constraintimpl !Send for Constraintimpl !Sync for Constraintimpl Unpin for Constraintimpl UnwindSafe for ConstraintBlanket Implementations
Mutably borrows from an owned value. Read more