Trait endbasic_core::exec::Clearable[][src]

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

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

Required methods

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