Struct syntex_syntax::ast::WhereClause [] [src]

pub struct WhereClause {
    pub id: NodeId,
    pub predicates: Vec<WherePredicate>,
}

A where clause in a definition

Fields

id
predicates

Trait Implementations

impl ToTokens for WhereClause

fn to_tokens(&self, _cx: &ExtCtxt) -> Vec<TokenTree>

Derived Implementations

impl Debug for WhereClause

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Hash for WhereClause

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Decodable for WhereClause

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<WhereClause, __D::Error>

impl Encodable for WhereClause

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Eq for WhereClause

impl PartialEq for WhereClause

fn eq(&self, __arg_0: &WhereClause) -> bool

fn ne(&self, __arg_0: &WhereClause) -> bool

impl Clone for WhereClause

fn clone(&self) -> WhereClause

fn clone_from(&mut self, source: &Self)