pub fn state_value(&self, state_path: &StatePath) -> Option<&StateValue> {
        if self.check_state_path(state_path) {
            Some(&self.values[state_path.index])
        } else {
            self.state_value_from_path(&state_path.path)
        }
    }
/// The standard way of getting values from the state. Get the state_path first
The standard way of getting values from the state. Get the state_path first
The standard way of getting values from the state . Get the state_path first
pub fn state_value(&self, state_path: &StatePath) -> Option<&StateValue> {
        if self.check_state_path(state_path) {
            Some(&self.values[state_path.index])
        } else {
            self.state_value_from_path(&state_path.path)
        }
    }
pub fn state_value ( & self , state_path : & StatePath ) -> Option < & StateValue > { if self . check_state_path ( state_path ) { Some ( & self . values [ state_path . index ] ) } else { self . state_value_from_path ( & state_path . path ) } }
The standard way of getting values from the state.
The standard way of getting values from the state .
&self
state_path
&StatePath