pub fn opt_copy_config(&self, tdoc_to: TidyDoc) -> Result<TidySeverity, TidyError> {
    unsafe {
      match tidyOptCopyConfig(tdoc_to, self.tdoc) {
        Bool_yes => Ok(TidySeverity::Success),
        _ => Err(TidyError {
          severity: TidySeverity::Severe,
          message: String::from("Tidy reset to default error"),
        }),
      }
    }
  }
///   Copy current configuration settings from one document to another.
///   
///   Note that the destination document's existing settings will be stored as that document's snapshot prior to having its option values overwritten by the source document's settings.
///   
///   # Parameters
///   **tdoc_to**	The destination tidy document.
///   # Returns
///   Returns TidySeverity::Success indicating success or a TidyError on failure.
Copy current configuration settings from one document to another.
Note that the destination document's existing settings will be stored as that document's snapshot prior to having its option values overwritten by the source document's settings.
Copy current configuration settings from one document to another . Note that the destination document ' s existing settings will be stored as that document ' s snapshot prior to having its option values overwritten by the source document ' s settings .
pub fn opt_copy_config(&self, tdoc_to: TidyDoc) -> Result<TidySeverity, TidyError> {
    unsafe {
      match tidyOptCopyConfig(tdoc_to, self.tdoc) {
        Bool_yes => Ok(TidySeverity::Success),
        _ => Err(TidyError {
          severity: TidySeverity::Severe,
          message: String::from("Tidy reset to default error"),
        }),
      }
    }
  }
pub fn opt_copy_config ( & self , tdoc_to : TidyDoc ) -> Result < TidySeverity , TidyError > { unsafe { match tidyOptCopyConfig ( tdoc_to , self . tdoc ) { Bool_yes => Ok ( TidySeverity :: Success ) , _ => Err ( TidyError { severity : TidySeverity :: Severe , message : String :: from ( " " ) , } ) , } } }
Copy current configuration settings from one document to another.
Copy current configuration settings from one document to another .
Returns TidySeverity::Success indicating success or a TidyError on failure.
Returns TidySeverity :: Success indicating success or a TidyError on failure .
&self
tdoc_to
TidyDoc