pub fn push_state(&mut self, state: impl Into<String>) {
        let state = state.into();

        if self.states.contains(&state) {
            return;
        }

        self.states.push(state);
        self.dirty = true;
    }
/// Pushes a state to the states vector.
Pushes a state to the states vector.
Pushes a state to the states vector .
pub fn push_state(&mut self, state: impl Into<String>) {
        let state = state.into();
        if self.states.contains(&state) {
            return;
        }
        self.states.push(state);
        self.dirty = true;
    }
pub fn push_state ( & mut self , state : impl Into < String > ) { let state = state . into ( ) ; if self . states . contains ( & state ) { return ; } self . states . push ( state ) ; self . dirty = true ; }
Pushes a state to the states vector.
Pushes a state to the states vector .
&mut self
state
impl Into<String>