pub fn opt_set_int(&self, optid: TidyOptionId, val: c_ulong) -> Result<TidySeverity, TidyError> {
    unsafe {
      match tidyOptSetInt(self.tdoc, optid, val) {
        Bool_yes => Ok(TidySeverity::Success),
        _ => Err(TidyError {
          severity: TidySeverity::Severe,
          message: String::from("Tidy option set int error"),
        }),
      }
    }
  }
/// Set option value as an integer.
///
/// # Parameters
/// **optId**	The option ID to set.
/// **val**	The value to set.
/// # Returns
/// Returns a TidySeverity::Success indicating success or TidyError on failure.
Set option value as an integer.
Set option value as an integer .
pub fn opt_set_int(&self, optid: TidyOptionId, val: c_ulong) -> Result<TidySeverity, TidyError> {
    unsafe {
      match tidyOptSetInt(self.tdoc, optid, val) {
        Bool_yes => Ok(TidySeverity::Success),
        _ => Err(TidyError {
          severity: TidySeverity::Severe,
          message: String::from("Tidy option set int error"),
        }),
      }
    }
  }
pub fn opt_set_int ( & self , optid : TidyOptionId , val : c_ulong ) -> Result < TidySeverity , TidyError > { unsafe { match tidyOptSetInt ( self . tdoc , optid , val ) { Bool_yes => Ok ( TidySeverity :: Success ) , _ => Err ( TidyError { severity : TidySeverity :: Severe , message : String :: from ( " " ) , } ) , } } }
Set option value as an integer.
Set option value as an integer .
Returns a TidySeverity::Success indicating success or TidyError on failure.
Returns a TidySeverity :: Success indicating success or TidyError on failure .
&self
optid
TidyOptionId
val
c_ulong