pub fn clean_and_repair(&self) -> Result<TidySeverity, TidyError> {
    unsafe {
      match tidyCleanAndRepair(self.tdoc) {
        0 => Ok(TidySeverity::Success),
        1 => Ok(TidySeverity::Warning),
        2 => Ok(TidySeverity::Error),
        _ => Err(TidyError {
          severity: TidySeverity::Severe,
          message: String::from("Tidy clean and repair error"),
        }),
      }
    }
  }
/// Execute configured cleanup and repair operations on parsed markup.
///
/// # Returns
/// An integer representing the status.
Execute configured cleanup and repair operations on parsed markup.
Execute configured cleanup and repair operations on parsed markup .
pub fn clean_and_repair(&self) -> Result<TidySeverity, TidyError> {
    unsafe {
      match tidyCleanAndRepair(self.tdoc) {
        0 => Ok(TidySeverity::Success),
        1 => Ok(TidySeverity::Warning),
        2 => Ok(TidySeverity::Error),
        _ => Err(TidyError {
          severity: TidySeverity::Severe,
          message: String::from("Tidy clean and repair error"),
        }),
      }
    }
  }
pub fn clean_and_repair ( & self ) -> Result < TidySeverity , TidyError > { unsafe { match tidyCleanAndRepair ( self . tdoc ) { 0 => Ok ( TidySeverity :: Success ) , 1 => Ok ( TidySeverity :: Warning ) , 2 => Ok ( TidySeverity :: Error ) , _ => Err ( TidyError { severity : TidySeverity :: Severe , message : String :: from ( " " ) , } ) , } } }
Execute configured cleanup and repair operations on parsed markup.
Execute configured cleanup and repair operations on parsed markup .
An integer representing the status.
An integer representing the status .
&self