logo
pub trait Pauseable {
    fn is_active(&self) -> bool;
    fn set_active(&self, val: bool);
    fn pause(&self);
    fn resume(&self);
}
Expand description

The Pauseable should be implemented by objects intended to be temporarily disabled from the broad phase update traversal.

Required Methods

Determines if the object is updating or not.

Set active state

Sets active to false.

Sets active to true.

Implementors