Trait SystemWithMarker
pub unsafe trait SystemWithMarker<M>:
'static
+ Send
+ Syncwhere
M: 'static,{
// Required methods
fn fill_data_usage(
&self,
usage: &mut DataUsageBuilder,
types: &TypesRegistryCache,
);
unsafe fn execute<'e>(&self, data: SystemInput<'e>);
fn system_name(&self) -> &'static str;
}Expand description
§Safety
Implemented automatically.
Required Methods§
fn fill_data_usage( &self, usage: &mut DataUsageBuilder, types: &TypesRegistryCache, )
unsafe fn execute<'e>(&self, data: SystemInput<'e>)
unsafe fn execute<'e>(&self, data: SystemInput<'e>)
§Safety
Should be managed by system scheduler and data usage.
fn system_name(&self) -> &'static str
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".