pub trait Store {
// Required method
fn for_each_component<F>(&mut self, f: F)
where F: FnMut(&mut dyn AnyComponent);
}
Expand description
Operations for the internal component store object.
Required Methods§
Sourcefn for_each_component<F>(&mut self, f: F)where
F: FnMut(&mut dyn AnyComponent),
fn for_each_component<F>(&mut self, f: F)where
F: FnMut(&mut dyn AnyComponent),
Perform an operation for each component container.
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.