Struct syn::WhereClause
source · pub struct WhereClause {
pub where_token: Where,
pub predicates: Punctuated<WherePredicate, Comma>,
}
Expand description
A where
clause in a definition: where T: Deserialize<'de>, D: 'static
.
This type is available if Syn is built with the "derive"
or "full"
feature.
Fields§
§where_token: Where
§predicates: Punctuated<WherePredicate, Comma>
Trait Implementations§
source§impl Clone for WhereClause
impl Clone for WhereClause
source§fn clone(&self) -> WhereClause
fn clone(&self) -> WhereClause
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more