pub fn opt_snapshot(&self) -> Result<TidySeverity, TidyError> {
    unsafe {
      match tidyOptSnapshot(self.tdoc) {
        Bool_yes => Ok(TidySeverity::Success),
        _ => Err(TidyError {
          severity: TidySeverity::Severe,
          message: String::from("Tidy option snapshot error"),
        }),
      }
    }
  }
///  Take a snapshot of current config settings.
///
/// These settings are stored within the tidy document. Note, however, that snapshots do not reliably survive the tidyParseXXX() process, as Tidy uses the snapshot mechanism in order to store the current configuration right at the beginning of the parsing process.
///
/// # Returns
/// Returns a TidySeverity::Success indicating success or TidyError on failure.
Take a snapshot of current config settings.
These settings are stored within the tidy document. Note, however, that snapshots do not reliably survive the tidyParseXXX() process, as Tidy uses the snapshot mechanism in order to store the current configuration right at the beginning of the parsing process.
Take a snapshot of current config settings . These settings are stored within the tidy document . Note however that snapshots do not reliably survive the tidyParseXXX () process as Tidy uses the snapshot mechanism in order to store the current configuration right at the beginning of the parsing process .
pub fn opt_snapshot(&self) -> Result<TidySeverity, TidyError> {
    unsafe {
      match tidyOptSnapshot(self.tdoc) {
        Bool_yes => Ok(TidySeverity::Success),
        _ => Err(TidyError {
          severity: TidySeverity::Severe,
          message: String::from("Tidy option snapshot error"),
        }),
      }
    }
  }
pub fn opt_snapshot ( & self ) -> Result < TidySeverity , TidyError > { unsafe { match tidyOptSnapshot ( self . tdoc ) { Bool_yes => Ok ( TidySeverity :: Success ) , _ => Err ( TidyError { severity : TidySeverity :: Severe , message : String :: from ( " " ) , } ) , } } }
Take a snapshot of current config settings.
Take a snapshot of current config settings .
Returns a TidySeverity::Success indicating success or TidyError on failure.
Returns a TidySeverity :: Success indicating success or TidyError on failure .
&self