fn call(&mut self, method: &str, lenght: usize) -> bool {
        // Method can be called multiple times
        match &mut self.what {
            ParsedStatus::MethodCall(name) => {
                if name.capacity() < lenght {
                    name.reserve(lenght);
                }
                name.push_str(method);
            }
            _ => {
                let name = method.to_owned();
                self.what = ParsedStatus::MethodCall(name);
            }
        }
        true
    }
// Stop on false, continue on true
Stop on false, continue on true
Stop on false continue on true
fn call(&mut self, method: &str, lenght: usize) -> bool {
        // Method can be called multiple times
        match &mut self.what {
            ParsedStatus::MethodCall(name) => {
                if name.capacity() < lenght {
                    name.reserve(lenght);
                }
                name.push_str(method);
            }
            _ => {
                let name = method.to_owned();
                self.what = ParsedStatus::MethodCall(name);
            }
        }
        true
    }
fn call ( & mut self , method : & str , lenght : usize ) -> bool { // Method can be called multiple times match & mut self . what { ParsedStatus :: MethodCall ( name ) => { if name . capacity ( ) < lenght { name . reserve ( lenght ) ; } name . push_str ( method ) ; } _ => { let name = method . to_owned ( ) ; self . what = ParsedStatus :: MethodCall ( name ) ; } } true }
Stop on false, continue on true
Stop on false continue on true
&mut self
method
&str
lenght
usize
&mut self
method
&str
lenght
usize