摘要: struct A<T:Clone>{ data: Vec<T> } type AA = A<usize>; type BB<'a> = A<&'a str>; impl<T:Clone> From<T> for A<T> { fn from(c: T) -> Self { A { data: vec 阅读全文
posted @ 2022-08-16 21:15 CrossPython 阅读(25) 评论(0) 推荐(0) 编辑