Skip to main content

WithComponentExt

Trait WithComponentExt 

Source
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§

Source

fn with_component(self, component_name: &'static str) -> Self

Source

fn without_component(self, component_name: &'static str) -> Self

Source

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".

Implementors§