Trait Clearable

Source
pub trait Clearable {
    // Required method
    fn reset_state(&self, syms: &mut Symbols);
}
Expand description

Trait for objects that maintain state that can be reset to defaults.

Required Methods§

Source

fn reset_state(&self, syms: &mut Symbols)

Resets any state held by the object to default values. syms contain the symbols of the machine before they are cleared, in case some state is held in them too.

Implementors§