Trait frame_support::traits::FilterStack
source · pub trait FilterStack<T>: Contains<T> {
type Stack;
// Required methods
fn push(constraint: impl Fn(&T) -> bool + 'static);
fn pop();
fn take() -> Self::Stack;
fn restore(taken: Self::Stack);
}
Expand description
Trait to add a constraint onto the filter.