pub trait IsChanged {
type State<'w>: Send + 'static
where Self: 'w;
// Required methods
fn reads(app: &mut App, type_ids: &mut Vec<ComponentId>);
fn build<'w>(&'w self) -> Self::State<'w>;
fn is_changed<'w>(&'w self, state: &'w mut Self::State<'w>) -> bool;
}Required Associated Types§
Required Methods§
fn reads(app: &mut App, type_ids: &mut Vec<ComponentId>)
fn build<'w>(&'w self) -> Self::State<'w>
fn is_changed<'w>(&'w self, state: &'w mut Self::State<'w>) -> bool
Object Safety§
This trait is not object safe.