1 2 3 4 5 6 7 8 9 10 11 12
extern crate intercom; #[intercom::com_interface] trait IFoo { fn arg_type(&self, input: u32); fn ret_type(&self) -> intercom::ComResult<u32>; fn all_type(&self, input: u32) -> intercom::ComResult<u32>; }