Skip to main content

HasPending

Trait HasPending 

Source
pub trait HasPending {
    // Required methods
    fn pending(&self) -> &Pending;
    fn pending_mut(&mut self) -> &mut Pending;
}
Expand description

Trait for game states that track player acknowledgments.

Required Methods§

Source

fn pending(&self) -> &Pending

Immutable access to the pending set.

Source

fn pending_mut(&mut self) -> &mut Pending

Mutable access to the pending set.

Implementors§