basic/compound-type/tuple #739
Replies: 15 comments 22 replies
-
没人说话对吧,我来吱一声 |
Beta Was this translation helpful? Give feedback.
-
这里和go一样 2333 多个返回值都是使用 括号包裹起来,单个返回值就可以直接写类型了 |
Beta Was this translation helpful? Give feedback.
-
很好奇为什么元组不可以迭代,像python声明一个元组,直接map可以迭代访问。rust的元组既知道长度,也知道元素类型,还可以用索引访问,可是不能迭代。。。 |
Beta Was this translation helpful? Give feedback.
-
什么场景下会用到元组这种数据结构呢? |
Beta Was this translation helpful? Give feedback.
-
小白求问,元组为什么不通过 |
Beta Was this translation helpful? Give feedback.
-
rust基本类型里面单元类型和复合类型的元组有区别吗? |
Beta Was this translation helpful? Give feedback.
-
元组 —— 适合组装基础类型变量为符合类型 |
Beta Was this translation helpful? Give feedback.
-
Python的pack和unpack |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
mark read |
Beta Was this translation helpful? Give feedback.
-
我发的评论呢????被吞了? |
Beta Was this translation helpful? Give feedback.
-
basic/compound-type/tuple
https://course.rs/basic/compound-type/tuple.html
Beta Was this translation helpful? Give feedback.
All reactions