pub trait WithComponentExt {
// Required methods
fn with_component(self, component_name: &'static str) -> Self;
fn without_component(self, component_name: &'static str) -> Self;
fn fetch_only_component(self, component_name: &'static str) -> Self;
}Expand description
Extension trait for PersistenceQuery to add component by name.
Required Methods§
fn with_component(self, component_name: &'static str) -> Self
fn without_component(self, component_name: &'static str) -> Self
fn fetch_only_component(self, component_name: &'static str) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".