learn_rust icon indicating copy to clipboard operation
learn_rust copied to clipboard

裸指针泛型问题和trait 对象返回值的问题

Open zwq1792966796 opened this issue 3 years ago • 0 comments

令狐老师,你好 rust中,裸指针指向带有泛型的结构体时编译报错? trait作为函数返回值是,如何获取这个trait 对象中的变量值?

zwq1792966796 avatar Apr 09 '21 04:04 zwq1792966796