Trait frame_support::traits::FilterStack [−][src]
Trait to add a constraint onto the filter.
Associated Types
Loading content...Required methods
fn push(constraint: impl Fn(&T) -> bool + 'static)[src]
Add a new constraint onto the filter.
fn pop()[src]
Removes the most recently pushed, and not-yet-popped, constraint from the filter.
fn take() -> Self::Stack[src]
Clear the filter, returning a value that may be used later to restore it.
fn restore(taken: Self::Stack)[src]
Restore the filter from a previous take operation.