Trait bevy_impulse::disposal::ManageDisposal
source · pub trait ManageDisposal {
// Required methods
fn emit_disposal(
&mut self,
session: Entity,
disposal: Disposal,
roster: &mut OperationRoster,
);
fn clear_disposals(&mut self, session: Entity);
fn transfer_disposals(&mut self, to_node: Entity) -> OperationResult;
}
Required Methods§
fn emit_disposal( &mut self, session: Entity, disposal: Disposal, roster: &mut OperationRoster, )
fn clear_disposals(&mut self, session: Entity)
sourcefn transfer_disposals(&mut self, to_node: Entity) -> OperationResult
fn transfer_disposals(&mut self, to_node: Entity) -> OperationResult
Used to transfer the disposals gathered by a temporary operation (e.g. a task) over to a persistent node