Struct syn::WhereClause [−][src]
pub struct WhereClause { pub where_token: Where, pub predicates: Punctuated<WherePredicate, Comma>, }
This is supported on crate features
full
or derive
only.A where
clause in a definition: where T: Deserialize<'de>, D: 'static
.
This type is available only if Syn is built with the "derive"
or "full"
feature.
Fields
where_token: Where
predicates: Punctuated<WherePredicate, Comma>
Trait Implementations
impl Clone for WhereClause
[src]
impl Clone for WhereClause
[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 WhereClause
[src]
impl Debug for WhereClause
[src]This is supported on crate feature
extra-traits
only.impl Eq for WhereClause
[src]
impl Eq for WhereClause
[src]This is supported on crate feature
extra-traits
only.impl Hash for WhereClause
[src]
impl Hash for WhereClause
[src]This is supported on crate feature
extra-traits
only.impl Parse for WhereClause
[src]
impl Parse for WhereClause
[src]This is supported on crate feature
parsing
only.fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl PartialEq<WhereClause> for WhereClause
[src]
impl PartialEq<WhereClause> for WhereClause
[src]This is supported on crate feature
extra-traits
only.impl ToTokens for WhereClause
[src]
impl ToTokens for WhereClause
[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 WhereClause
impl RefUnwindSafe for WhereClause
impl !Send for WhereClause
impl !Send for WhereClause
impl !Sync for WhereClause
impl !Sync for WhereClause
impl Unpin for WhereClause
impl Unpin for WhereClause
impl UnwindSafe for WhereClause
impl UnwindSafe for WhereClause