fn is_applicable(&mut self, input: &str) -> Option<bool> {
        let mut found_start = false;
        let mut input = input.as_bytes();
        let mut line = String::new();
        loop {
            line.clear();
            if let Ok(n) = input.read_line(&mut line) {
                if n == 0 {
                    break;
                }
            } else {
                return Some(false);
            }

            if line.starts_with(START_LINE) {
                found_start = true;
                continue;
            } else if line.starts_with(END_LINE) {
                return Some(found_start);
            }
        }
        None
    }
/// Check for start and end lines of a call graph.
Check for start and end lines of a call graph.
Check for start and end lines of a call graph .
fn is_applicable(&mut self, input: &str) -> Option<bool> {
        let mut found_start = false;
        let mut input = input.as_bytes();
        let mut line = String::new();
        loop {
            line.clear();
            if let Ok(n) = input.read_line(&mut line) {
                if n == 0 {
                    break;
                }
            } else {
                return Some(false);
            }
            if line.starts_with(START_LINE) {
                found_start = true;
                continue;
            } else if line.starts_with(END_LINE) {
                return Some(found_start);
            }
        }
        None
    }
fn is_applicable ( & mut self , input : & str ) -> Option < bool > { let mut found_start = false ; let mut input = input . as_bytes ( ) ; let mut line = String :: new ( ) ; loop { line . clear ( ) ; if let Ok ( n ) = input . read_line ( & mut line ) { if n == 0 { break ; } } else { return Some ( false ) ; } if line . starts_with ( START_LINE ) { found_start = true ; continue ; } else if line . starts_with ( END_LINE ) { return Some ( found_start ) ; } } None }
Check for start and end lines of a call graph.
Check for start and end lines of a call graph .
&mut self
input
&str
&mut self
input
&str