Struct syn::Constraint [−][src]
pub struct Constraint { pub ident: Ident, pub colon_token: Colon, pub bounds: Punctuated<TypeParamBound, Add>, }
This is supported on crate features
full
or derive
only.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
impl Clone for Constraint
[src]
impl Clone for Constraint
[src]This is supported on crate feature
clone-impls
only.fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Constraint
[src]
impl Debug for Constraint
[src]This is supported on crate feature
extra-traits
only.impl Eq for Constraint
[src]
impl Eq for Constraint
[src]This is supported on crate feature
extra-traits
only.impl Hash for Constraint
[src]
impl Hash for Constraint
[src]This is supported on crate feature
extra-traits
only.impl Parse for Constraint
[src]
impl Parse for Constraint
[src]This is supported on crate feature
parsing
only.fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl PartialEq<Constraint> for Constraint
[src]
impl PartialEq<Constraint> for Constraint
[src]This is supported on crate feature
extra-traits
only.impl ToTokens for Constraint
[src]
impl ToTokens for Constraint
[src]This is supported on crate feature
printing
only.fn to_tokens(&self, tokens: &mut TokenStream)
[src]
pub fn to_token_stream(&self) -> TokenStream
[src]
pub fn into_token_stream(self) -> TokenStream
[src]
Auto Trait Implementations
impl RefUnwindSafe for Constraint
impl RefUnwindSafe for Constraint
impl !Send for Constraint
impl !Send for Constraint
impl !Sync for Constraint
impl !Sync for Constraint
impl Unpin for Constraint
impl Unpin for Constraint
impl UnwindSafe for Constraint
impl UnwindSafe for Constraint