pub trait Scope<Q, S>where
Q: RawState,{
// Required methods
fn current_state(&self) -> &State<Q>;
fn current_symbol(&self) -> &S;
}Expand description
The Scope trait establishes a common interface for all head-like objects;
Required Methods§
Sourcefn current_state(&self) -> &State<Q>
fn current_state(&self) -> &State<Q>
returns an immutable reference to the current state