pub fn add_raw_function(
      mut self,
      name: &str,
      parameter_count: Option<u16>,
      f: FunctionKind,
   ) -> Self {
      self.instance_dtable.methods.push((
         FunctionSignature {
            name: Rc::from(name),
            arity: parameter_count,
         },
         f,
      ));
      self
   }
/// Adds a _raw_ instance function to the type.
///
/// You should generally prefer [`add_function`][`Self::add_function`] instead of this.
///
/// `parameter_count` should reflect the parameter count of the function. Pass `None` if the
/// function accepts a variable number of arguments. Note that _unlike with bare raw functions_
/// there can be two functions with the same name defined on a type, as long as they have
/// different arities. Functions with specific arities take priority over varargs.
///
/// Note that this function _consumes_ the builder; this is because calls to functions that add
/// into the type are meant to be chained together in one expression.
Adds a _raw_ instance function to the type.
You should generally prefer [`add_function`][`Self::add_function`] instead of this.

`parameter_count` should reflect the parameter count of the function. Pass `None` if the
function accepts a variable number of arguments. Note that _unlike with bare raw functions_
there can be two functions with the same name defined on a type, as long as they have
different arities. Functions with specific arities take priority over varargs.

Note that this function _consumes_ the builder; this is because calls to functions that add
into the type are meant to be chained together in one expression.
Adds a _raw_ instance function to the type . You should generally prefer [ ` add_function ` ] [ ` Self :: add_function ` ] instead of this . ` parameter_count ` should reflect the parameter count of the function . Pass ` None ` if the function accepts a variable number of arguments . Note that _unlike with bare raw functions_ there can be two functions with the same name defined on a type as long as they have different arities . Functions with specific arities take priority over varargs . Note that this function _consumes_ the builder ; this is because calls to functions that add into the type are meant to be chained together in one expression .
pub fn add_raw_function(
      mut self,
      name: &str,
      parameter_count: Option<u16>,
      f: FunctionKind,
   ) -> Self {
      self.instance_dtable.methods.push((
         FunctionSignature {
            name: Rc::from(name),
            arity: parameter_count,
         },
         f,
      ));
      self
   }
pub fn add_raw_function ( mut self , name : & str , parameter_count : Option < u16 > , f : FunctionKind , ) -> Self { self . instance_dtable . methods . push ( ( FunctionSignature { name : Rc :: from ( name ) , arity : parameter_count , } , f , ) ) ; self }
Adds a _raw_ instance function to the type.
Adds a _raw_ instance function to the type .
mut self
name
&str
parameter_count
Option<u16>
f
FunctionKind