pub trait CollectInitialiser<const FORWARD: bool, const SKIP_DISABLED: bool, const ID: u8>: Initialiser<FORWARD, ID> {
// Required method
fn collect<'n, T: Iterator<Item = &'n Node>>(
&mut self,
_node: &Node,
from_all: impl Fn() -> T,
) -> Self::Value;
}Expand description
Initialiser where values are transferred from the neighbors to the current node.
Required Methods§
fn collect<'n, T: Iterator<Item = &'n Node>>( &mut self, _node: &Node, from_all: impl Fn() -> T, ) -> Self::Value
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.