pub trait ActionIter<V: NormalizedAction>: Iterator<Item = V> {
// Provided methods
fn flatten_specified<R, W, T>(
self,
wanted: W,
transform: T,
) -> FlattenSpecified<V, Self, W, T> ⓘ
where Self: Sized,
R: Clone,
W: Fn(&V) -> Option<&R>,
T: Fn(R) -> Vec<V> { ... }
fn count_action(self, action: impl Fn(&V) -> bool) -> usize
where Self: Sized { ... }
fn count_actions<const N: usize>(
self,
action: [fn(_: &V) -> bool; N],
) -> usize
where Self: Sized { ... }
fn action_split<FromI, Fns>(self, filters: Fns) -> FromI
where Self: Sized + ActionSplit<FromI, Fns, V> { ... }
fn action_split_ref<FromI, Fns>(self, filters: &Fns) -> FromI
where Self: Sized + ActionSplit<FromI, Fns, V> { ... }
fn action_split_out<FromI, Fns>(self, filters: Fns) -> (FromI, Vec<V>)
where Self: Sized + ActionSplit<FromI, Fns, V> { ... }
fn action_split_out_ref<FromI, Fns>(self, filters: &Fns) -> (FromI, Vec<V>)
where Self: Sized + ActionSplit<FromI, Fns, V> { ... }
fn collect_action_vec<R>(self, filter: fn(_: V) -> Option<R>) -> Vec<R>
where Self: Sized { ... }
fn collect_action<R, I: Default + Extend<R>>(
self,
filter: impl Fn(V) -> Option<R>,
) -> I
where Self: Sized { ... }
}