pub fn opt_reset_to_snapshot(&self) -> Result<TidySeverity, TidyError> {
    unsafe {
      match tidyOptResetToSnapshot(self.tdoc) {
        Bool_yes => Ok(TidySeverity::Success),
        _ => Err(TidyError {
          severity: TidySeverity::Severe,
          message: String::from("Tidy reset to snapshot error"),
        }),
      }
    }
  }
/// Apply a snapshot of config settings to a document.
///
/// # Returns
/// Returns a TidySeverity::Success indicating success or TidyError on failure.
Apply a snapshot of config settings to a document.
Apply a snapshot of config settings to a document .
pub fn opt_reset_to_snapshot(&self) -> Result<TidySeverity, TidyError> {
    unsafe {
      match tidyOptResetToSnapshot(self.tdoc) {
        Bool_yes => Ok(TidySeverity::Success),
        _ => Err(TidyError {
          severity: TidySeverity::Severe,
          message: String::from("Tidy reset to snapshot error"),
        }),
      }
    }
  }
pub fn opt_reset_to_snapshot ( & self ) -> Result < TidySeverity , TidyError > { unsafe { match tidyOptResetToSnapshot ( self . tdoc ) { Bool_yes => Ok ( TidySeverity :: Success ) , _ => Err ( TidyError { severity : TidySeverity :: Severe , message : String :: from ( " " ) , } ) , } } }
Apply a snapshot of config settings to a document.
Apply a snapshot of config settings to a document .
Returns a TidySeverity::Success indicating success or TidyError on failure.
Returns a TidySeverity :: Success indicating success or TidyError on failure .
&self