fn consume_boost(&mut self) -> Result<f32, Error> {
        if self.consume("^") {
            if let Some(num) = self.consume_number()? {
                Ok(num as f32)
            } else {
                Err(Error::Parse("Expected number after ^ symbol.".to_string()))
            }
        } else {
            Ok(NO_BOOST)
        }
    }
// if no boost is specified returns 1.0
if no boost is specified returns 1.0
if no boost is specified returns 1 . 0
fn consume_boost(&mut self) -> Result<f32, Error> {
        if self.consume("^") {
            if let Some(num) = self.consume_number()? {
                Ok(num as f32)
            } else {
                Err(Error::Parse("Expected number after ^ symbol.".to_string()))
            }
        } else {
            Ok(NO_BOOST)
        }
    }
fn consume_boost ( & mut self ) -> Result < f32 , Error > { if self . consume ( " " ) { if let Some ( num ) = self . consume_number ( ) ? { Ok ( num as f32 ) } else { Err ( Error :: Parse ( " " . to_string ( ) ) ) } } else { Ok ( NO_BOOST ) } }
if no boost is specified returns 1.0
if no boost is specified returns 1 . 0
&mut self
&mut self