Trait Meta

Source
pub trait Meta<'a, R> {
    // Required method
    fn accept_visitor<V: MetaVisitor<'a, R>>(&self, visitor: &mut V)
       where Self: Sized;
}
Available on crate feature filter only.
Expand description

A wrapper for a type that can be filtered.

A Meta holds a representation of a filterable type, similar to Member for fields, but now for an entire structured type. When a type is Filterable it can produce a Meta for itself, to enable discovery of its members and their supported operators.

Required Methods§

Source

fn accept_visitor<V: MetaVisitor<'a, R>>(&self, visitor: &mut V)
where Self: Sized,

visitor will be called with each exposed member of the type.

Implementors§