Struct tealr::ExportedFunction [−][src]
pub struct ExportedFunction { /* fields omitted */ }
Expand description
Contains the data needed to write down the type of a function
Implementations
pub fn new<Params: TealMultiValue, Response: TealMultiValue>(
name: Vec<u8>,
is_meta_method: bool
) -> Self
pub fn new<Params: TealMultiValue, Response: TealMultiValue>(
name: Vec<u8>,
is_meta_method: bool
) -> Self
Creates an ExportedFunction with the given name, Parameters and return value
ExportedFunction::new::<(String,String),String>(b"concat".to_vec(),false);