pub fn new(args: Vec<SubprogTyArg>, ret: Option<Ty>) -> SubprogTy {
        SubprogTy {
            args: args,
            ret: ret.map(|t| Box::new(t)),
        }
    }
/// Create a new subprogram type.
Create a new subprogram type.
Create a new subprogram type .
pub fn new(args: Vec<SubprogTyArg>, ret: Option<Ty>) -> SubprogTy {
        SubprogTy {
            args: args,
            ret: ret.map(|t| Box::new(t)),
        }
    }
pub fn new ( args : Vec < SubprogTyArg > , ret : Option < Ty > ) -> SubprogTy { SubprogTy { args : args , ret : ret . map ( | t | Box :: new ( t ) ) , } }
Create a new subprogram type.
Create a new subprogram type .
args
Vec<SubprogTyArg>
ret
Option<Ty>
args
Vec<SubprogTyArg>
ret
Option<Ty>