logo

Trait primitives::prelude::Pauseable[][src]

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.

Sets active to false.

Sets active to true.

Implementors